Class GaussDbCreateTableStatement
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.SQLStatementImpl
-
- com.alibaba.druid.sql.ast.statement.SQLCreateTableStatement
-
- com.alibaba.druid.sql.dialect.gaussdb.ast.stmt.GaussDbCreateTableStatement
-
- All Implemented Interfaces:
SQLDbTypedObject,SQLObject,SQLStatement,SQLCreateStatement,SQLDDLStatement,GaussDbObject
public class GaussDbCreateTableStatement extends SQLCreateTableStatement implements GaussDbObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGaussDbCreateTableStatement.ForeignTableMode-
Nested classes/interfaces inherited from class com.alibaba.druid.sql.ast.statement.SQLCreateTableStatement
SQLCreateTableStatement.Feature
-
Nested classes/interfaces inherited from interface com.alibaba.druid.sql.ast.statement.SQLDDLStatement
SQLDDLStatement.DDLObjectType
-
-
Field Summary
Fields Modifier and Type Field Description protected GaussDbDistributeBydistributeByprotected SQLExprserverprotected SQLExprtoGroupprotected SQLExprtoNode-
Fields inherited from class com.alibaba.druid.sql.ast.statement.SQLCreateTableStatement
buckets, clusteredBy, clusteringType, comment, compress, engine, features, ignore, inherits, isAutoBucket, lifeCycle, like, localPartitioning, location, logging, onCommitDeleteRows, onCommitPreserveRows, orderBy, partitionBy, partitionColumns, partitionOf, replace, rowFormat, select, shards, single, sortedBy, storedAs, storedBy, tableElementList, tableOptions, tableSource, tablespace, unique
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
afterSemi, dbType, headHints
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description GaussDbCreateTableStatement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept0(GaussDbASTVisitor visitor)voidaccept0(SQLASTVisitor v)SQLExprgetCompressType()GaussDbDistributeBygetDistributeBy()GaussDbCreateTableStatement.ForeignTableModegetForeignTableMode()SQLExprgetOnCommitExpr()SQLExprgetRowMovementType()SQLExprgetServer()SQLExprgetToGroup()SQLExprgetToNode()voidsetCompressType(SQLExpr compressType)voidsetDistributeBy(GaussDbDistributeBy distributeBy)voidsetForeignTableMode(GaussDbCreateTableStatement.ForeignTableMode foreignTableMode)voidsetOnCommitExpr(SQLExpr onCommitExpr)voidsetRowMovementType(SQLExpr rowMovementType)voidsetServer(SQLExpr server)voidsetToGroup(SQLExpr toGroup)voidsetToNode(SQLExpr toNode)-
Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLCreateTableStatement
acceptChild, addBodyBeforeComment, addClusteredByItem, addColumn, addColumn, addColumn, addOption, addPartitionColumn, addSortedByItem, addTblProperty, alterApply, apply, apply, apply, apply, apply, clone, cloneTo, columnIndexOf, computeName, config, config, containsColumn, containsDuplicateColumnNames, containsDuplicateColumnNames, findColumn, findColumn, findForeignKey, findIndex, findPrimaryKey, findUnique, forEachColumn, foreignKeyToAlterTable, getBodyBeforeCommentsDirect, getBuckets, getCatalog, getChildren, getClusteredBy, getClusteringType, getColumn, getColumnComments, getColumnDefinitions, getColumnNames, getComment, getCompress, getDDLObjectType, getEngine, getInherits, getLifeCycle, getLike, getLocalPartitioning, getLocation, getLogging, getName, getOption, getOptionOrTblPropertyValue, getOptionValue, getOrderBy, getPartitionColumns, getPartitioning, getPartitionOf, getPrimaryKeyNames, getRowFormat, getSchema, getSelect, getShards, getSortedBy, getStoredAs, getStoredBy, getTableElementList, getTableName, getTableOptions, getTableSource, getTablespace, getTblProperties, getTblProperty, getTblPropertyValue, getUnique, hasBodyBeforeComment, hashForeignKey, isAutoBucket, isDimension, isEnabled, isExternal, isIfNotExists, isIgnore, isMUL, isOnCommitPreserveRows, isOnlyPrimaryKey, isPrimaryColumn, isPrimaryColumn, isReferenced, isReferenced, isReplace, isSingle, isTemporary, isUNI, removeOption, renameColumn, setAutoBucket, setBuckets, setClusteringType, setComment, setCompress, setDimension, setEngine, setExternal, setIfNotExists, setIgnore, setInherits, setLifeCycle, setLike, setLike, setLocalPartitioning, setLocation, setLogging, setName, setName, setOnCommitPreserveRows, setOrderBy, setPartitionBy, setPartitionOf, setReplace, setRowFormat, setSchema, setSelect, setShards, setSingle, setStoredAs, setStoredBy, setTableName, setTableSource, setTablespace, setTemporary, setUnique, simplify, sort, toString
-
Methods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
cloneTo, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toLowerCaseString, toParameterizedString, toString, toUnformattedString
-
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, cloneTo, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSource, setSourceLine
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSource
-
Methods inherited from interface com.alibaba.druid.sql.ast.SQLStatement
getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setHeadHints, toLowerCaseString, toParameterizedString, toString
-
-
-
-
Field Detail
-
distributeBy
protected GaussDbDistributeBy distributeBy
-
toGroup
protected SQLExpr toGroup
-
toNode
protected SQLExpr toNode
-
server
protected SQLExpr server
-
-
Method Detail
-
setDistributeBy
public void setDistributeBy(GaussDbDistributeBy distributeBy)
-
getDistributeBy
public GaussDbDistributeBy getDistributeBy()
-
setToGroup
public void setToGroup(SQLExpr toGroup)
-
getToGroup
public SQLExpr getToGroup()
-
setToNode
public void setToNode(SQLExpr toNode)
-
getToNode
public SQLExpr getToNode()
-
accept0
public void accept0(SQLASTVisitor v)
- Specified by:
accept0in interfaceGaussDbObject- Overrides:
accept0in classSQLCreateTableStatement
-
accept0
public void accept0(GaussDbASTVisitor visitor)
- Specified by:
accept0in interfaceGaussDbObject
-
getOnCommitExpr
public SQLExpr getOnCommitExpr()
-
setOnCommitExpr
public void setOnCommitExpr(SQLExpr onCommitExpr)
-
getCompressType
public SQLExpr getCompressType()
-
setCompressType
public void setCompressType(SQLExpr compressType)
-
getRowMovementType
public SQLExpr getRowMovementType()
-
setRowMovementType
public void setRowMovementType(SQLExpr rowMovementType)
-
getServer
public SQLExpr getServer()
-
setServer
public void setServer(SQLExpr server)
-
getForeignTableMode
public GaussDbCreateTableStatement.ForeignTableMode getForeignTableMode()
-
setForeignTableMode
public void setForeignTableMode(GaussDbCreateTableStatement.ForeignTableMode foreignTableMode)
-
-