Class StarRocksCreateTableStatement
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.starrocks.ast.statement.StarRocksCreateTableStatement
- All Implemented Interfaces:
SQLDbTypedObject,SQLObject,SQLStatement,SQLCreateStatement,SQLDDLStatement
-
Nested Class Summary
Nested classes/interfaces inherited from class com.alibaba.druid.sql.ast.statement.SQLCreateTableStatement
SQLCreateTableStatement.TypeNested classes/interfaces inherited from interface com.alibaba.druid.sql.ast.statement.SQLDDLStatement
SQLDDLStatement.DDLObjectType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SQLExprprotected SQLExprprotected SQLExprprotected booleanprotected booleanprotected SQLIndexDefinitionprotected SQLExprprotected SQLExprprotected booleanFields inherited from class com.alibaba.druid.sql.ast.statement.SQLCreateTableStatement
buckets, clusteredBy, clusteringType, comment, compress, dimension, engine, external, ifNotExists, ignore, inherits, like, localPartitioning, location, logging, onCommitDeleteRows, onCommitPreserveRows, partitionColumns, partitioning, partitionOf, replace, rowFormat, select, shards, single, sortedBy, storedAs, tableElementList, tableOptions, tableSource, tablespace, tblProperties, typeFields inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
afterSemi, dbType, headHintsFields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidaddStarRocksProperty(String key, String value) getEnd()getEvery()getStart()booleanbooleanbooleanvoidsetDistributedBy(SQLExpr distributedBy) voidvoidvoidsetFixedRange(boolean fixedRange) voidsetFixedRangeMap(Map<SQLExpr, List<SQLExpr>> fixedRangeMap) voidsetLessThan(boolean lessThan) voidsetLessThanMap(Map<SQLExpr, SQLExpr> lessThanMap) voidsetModelKey(SQLIndexDefinition modelKey) voidvoidsetStarRocksProperties(List<SQLExpr> starRocksProperties) voidvoidsetStartEnd(boolean startEnd) Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLCreateTableStatement
acceptChild, addBodyBeforeComment, addClusteredByItem, addColumn, addColumn, addOption, addPartitionColumn, addSortedByItem, addTblProperty, alterApply, apply, apply, apply, apply, clone, cloneTo, columnIndexOf, computeName, 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, getLike, getLocalPartitioning, getLocation, getLogging, getName, getOption, getOptionOrTblPropertyValue, getOptionValue, getPartitionColumns, getPartitioning, getPartitionOf, getPrimaryKeyNames, getRowFormat, getSchema, getSelect, getShards, getSortedBy, getStoredAs, getTableElementList, getTableName, getTableOptions, getTableSource, getTablespace, getTblProperties, getTblProperty, getTblPropertyValue, getType, hasBodyBeforeComment, hashForeignKey, isDimension, isExternal, isIfNotExists, isIgnore, isMUL, isOnCommitPreserveRows, isOnlyPrimaryKey, isPrimaryColumn, isPrimaryColumn, isReferenced, isReferenced, isReplace, isSingle, isUNI, renameColumn, setBuckets, setClusteringType, setComment, setCompress, setDimension, setEngine, setExternal, setIfNotExiists, setIgnore, setInherits, setLike, setLike, setLocalPartitioning, setLocation, setLogging, setName, setName, setOnCommitPreserveRows, setPartitioning, setPartitionOf, setReplace, setRowFormat, setSchema, setSelect, setShards, setSingle, setStoredAs, setTableName, setTableSource, setTablespace, setType, simplify, sort, toStringMethods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toLowerCaseString, toParameterizedString, toString, toUnformattedStringMethods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLineMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParentMethods inherited from interface com.alibaba.druid.sql.ast.SQLStatement
getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setHeadHints, toLowerCaseString, toParameterizedString, toString
-
Field Details
-
modelKey
-
partitionBy
-
start
-
end
-
every
-
distributedBy
-
lessThan
protected boolean lessThan -
fixedRange
protected boolean fixedRange -
startEnd
protected boolean startEnd -
modelKeyParameters
-
lessThanMap
-
fixedRangeMap
-
starRocksProperties
-
-
Constructor Details
-
StarRocksCreateTableStatement
public StarRocksCreateTableStatement()
-
-
Method Details
-
setStartEnd
public void setStartEnd(boolean startEnd) -
isStartEnd
public boolean isStartEnd() -
setDistributedBy
-
getDistributedBy
-
getStart
-
getEnd
-
getEvery
-
setStart
-
setEnd
-
setEvery
-
isFixedRange
public boolean isFixedRange() -
setFixedRange
public void setFixedRange(boolean fixedRange) -
getFixedRangeMap
-
setFixedRangeMap
-
isLessThan
public boolean isLessThan() -
setLessThan
public void setLessThan(boolean lessThan) -
getLessThanMap
-
setLessThanMap
-
getModelKey
-
setModelKey
-
getModelKeyParameters
-
setPartitionBy
-
getPartitionBy
-
getStarRocksProperties
-
setStarRocksProperties
-
addStarRocksProperty
-
accept0
- Overrides:
accept0in classSQLCreateTableStatement
-