类 SQLObjectImpl
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
- 所有已实现的接口:
SQLObject
- 直接已知子类:
MySqlObjectImpl,OdpsObjectImpl,OracleAnalyticWindowing,OracleSegmentAttributesImpl,OracleSQLObjectImpl,OscarObjectImpl,PGSQLObjectImpl,SQLAlterCharacter,SQLAlterIndexStatement.Rebuild,SQLAlterTableAddClusteringKey,SQLAlterTableAddColumn,SQLAlterTableAddConstraint,SQLAlterTableAddExtPartition,SQLAlterTableAddIndex,SQLAlterTableAddPartition,SQLAlterTableAddSupplemental,SQLAlterTableAlterColumn,SQLAlterTableAlterIndex,SQLAlterTableAnalyzePartition,SQLAlterTableArchive,SQLAlterTableArchivePartition,SQLAlterTableAttachPartition,SQLAlterTableBlockSize,SQLAlterTableChangeOwner,SQLAlterTableCheckPartition,SQLAlterTableCoalescePartition,SQLAlterTableCompression,SQLAlterTableConvertCharSet,SQLAlterTableDeleteByCondition,SQLAlterTableDetachPartition,SQLAlterTableDisableConstraint,SQLAlterTableDisableKeys,SQLAlterTableDisableLifecycle,SQLAlterTableDiscardPartition,SQLAlterTableDropClusteringKey,SQLAlterTableDropColumnItem,SQLAlterTableDropConstraint,SQLAlterTableDropExtPartition,SQLAlterTableDropForeignKey,SQLAlterTableDropIndex,SQLAlterTableDropKey,SQLAlterTableDropPartition,SQLAlterTableDropPrimaryKey,SQLAlterTableDropSubpartition,SQLAlterTableEnableConstraint,SQLAlterTableEnableKeys,SQLAlterTableEnableLifecycle,SQLAlterTableExchangePartition,SQLAlterTableImportPartition,SQLAlterTableMergePartition,SQLAlterTableModifyClusteredBy,SQLAlterTableOptimizePartition,SQLAlterTablePartition,SQLAlterTablePartitionCount,SQLAlterTablePartitionLifecycle,SQLAlterTablePartitionSetProperties,SQLAlterTableRebuildPartition,SQLAlterTableRecoverPartitions,SQLAlterTableRename,SQLAlterTableRenameColumn,SQLAlterTableRenameConstraint,SQLAlterTableRenameIndex,SQLAlterTableRenamePartition,SQLAlterTableReOrganizePartition,SQLAlterTableRepairPartition,SQLAlterTableReplaceColumn,SQLAlterTableSetComment,SQLAlterTableSetLifecycle,SQLAlterTableSetLocation,SQLAlterTableSetOption,SQLAlterTableSetSchema,SQLAlterTableSetTableSpace,SQLAlterTableSubpartitionAvailablePartitionNum,SQLAlterTableSubpartitionLifecycle,SQLAlterTableTouch,SQLAlterTableTruncatePartition,SQLAlterTableUnarchivePartition,SQLAlterTableValidateConstraint,SQLAnnIndex,SQLArgument,SQLArrayDataType,SQLCaseExpr.Item,SQLCaseStatement.Item,SQLColumnDefinition,SQLColumnDefinition.Identity,SQLCommentHint,SQLConstraintImpl,SQLCreateViewStatement.Column,SQLDataTypeImpl,SQLDeclareItem,SQLErrorLoggingClause,SQLExprHint,SQLExprImpl,SQLExternalRecordFormat,SQLIfStatement.Else,SQLIfStatement.ElseIf,SQLIndexDefinition,SQLIndexOptions,SQLInsertStatement.ValuesClause,SQLJoinTableSource.UDJ,SQLKeep,SQLLimit,SQLMapDataType,SQLMergeStatement.MergeInsertClause,SQLMergeStatement.MergeUpdateClause,SQLOrderBy,SQLOver,SQLParameter,SQLPartitionBy,SQLPartitionOf,SQLPartitionRef,SQLPartitionRef.Item,SQLPartitionSpec,SQLPartitionSpec.Item,SQLPivot,SQLPrivilegeItem,SQLRowDataType,SQLSelect,SQLSelectGroupByClause,SQLSelectItem,SQLSelectOrderByItem,SQLSelectQueryBase,SQLServerObjectImpl,SQLStatementImpl,SQLStructDataType,SQLStructDataType.Field,SQLSubPartitionBy,SQLTableDataType,SQLTableLike,SQLTableSampling,SQLTableSourceImpl,SQLUnpivot,SQLUpdateSetItem,SQLWindow,SQLWithSubqueryClause,SQLZOrderBy
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明final voidaccept(SQLASTVisitor visitor) protected abstract voidprotected final voidacceptChild(SQLASTVisitor visitor, SQLObject child) protected final voidacceptChild(SQLASTVisitor visitor, List<? extends SQLObject> children) voidaddAfterComment(String comment) voidaddAfterComment(List<String> comments) voidaddBeforeComment(String comment) voidaddBeforeComment(List<String> comments) clone()booleancontainsAttribute(String name) getAttribute(String name) getHint()intintbooleanbooleanvoidoutput(StringBuilder buf) voidputAttribute(String name, Object value) voidsetHint(SQLCommentHint hint) voidvoidsetSourceColumn(int sourceColumn) voidsetSourceLine(int sourceLine) toString()
-
字段详细资料
-
parent
-
attributes
-
hint
-
sourceLine
protected int sourceLine -
sourceColumn
protected int sourceColumn
-
-
构造器详细资料
-
SQLObjectImpl
public SQLObjectImpl()
-
-
方法详细资料
-
accept
-
accept0
-
acceptChild
-
acceptChild
-
output
-
toString
-
getParent
-
setParent
-
getAttributes
- 指定者:
getAttributes在接口中SQLObject
-
getAttribute
- 指定者:
getAttribute在接口中SQLObject
-
containsAttribute
- 指定者:
containsAttribute在接口中SQLObject
-
putAttribute
- 指定者:
putAttribute在接口中SQLObject
-
getAttributesDirect
- 指定者:
getAttributesDirect在接口中SQLObject
-
addBeforeComment
- 指定者:
addBeforeComment在接口中SQLObject
-
addBeforeComment
- 指定者:
addBeforeComment在接口中SQLObject
-
getBeforeCommentsDirect
- 指定者:
getBeforeCommentsDirect在接口中SQLObject
-
addAfterComment
- 指定者:
addAfterComment在接口中SQLObject
-
addAfterComment
- 指定者:
addAfterComment在接口中SQLObject
-
getAfterCommentsDirect
- 指定者:
getAfterCommentsDirect在接口中SQLObject
-
hasBeforeComment
public boolean hasBeforeComment()- 指定者:
hasBeforeComment在接口中SQLObject
-
hasAfterComment
public boolean hasAfterComment()- 指定者:
hasAfterComment在接口中SQLObject
-
clone
-
computeDataType
-
getSourceLine
public int getSourceLine() -
setSourceLine
public void setSourceLine(int sourceLine) -
getSourceColumn
public int getSourceColumn() -
setSourceColumn
public void setSourceColumn(int sourceColumn) -
getHint
-
setHint
-