类 SQLAlterTableStatement
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLStatementImpl
com.alibaba.druid.sql.ast.statement.SQLAlterTableStatement
- 所有已实现的接口:
SQLDbTypedObject,SQLObject,SQLStatement,SQLAlterStatement,SQLDDLStatement
public class SQLAlterTableStatement
extends SQLStatementImpl
implements SQLDDLStatement, SQLAlterStatement
-
嵌套类概要
从接口继承的嵌套类/接口 com.alibaba.druid.sql.ast.statement.SQLDDLStatement
SQLDDLStatement.DDLObjectType -
字段概要
字段修饰符和类型字段说明protected intprotected final List<SQLSelectOrderByItem>protected booleanprotected intprotected final List<SQLSelectOrderByItem>从类继承的字段 com.alibaba.druid.sql.ast.SQLStatementImpl
afterSemi, dbType, headHints从类继承的字段 com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected voidaccept0(SQLASTVisitor visitor) voidvoidaddItem(SQLAlterTableItem item) voidintgetItems()getName()getOn()intbooleanbooleanisIgnore()booleanbooleanbooleanbooleanbooleanisOnline()booleanisOnly()booleanisRange()booleanbooleanbooleanlongvoidsetBuckets(int buckets) voidsetIfExists(boolean ifExists) voidsetIgnore(boolean ignore) voidsetInvalidateGlobalIndexes(boolean invalidateGlobalIndexes) voidsetItems(List<SQLAlterTableItem> items) voidsetMergeSmallFiles(boolean mergeSmallFiles) voidvoidsetNotClustered(boolean notClustered) voidsetOffline(boolean offline) voidvoidsetOnline(boolean online) voidsetOnly(boolean only) voidsetPartition(SQLPartitionBy partition) voidsetRange(boolean range) voidsetRemovePatiting(boolean removePatiting) voidsetShards(int shards) voidsetTableSource(SQLExpr table) voidsetTableSource(SQLExprTableSource tableSource) voidsetUpdateGlobalIndexes(boolean updateGlobalIndexes) voidsetUpgradePatiting(boolean upgradePatiting) 从类继承的方法 com.alibaba.druid.sql.ast.SQLStatementImpl
clone, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString, toUnformattedString从类继承的方法 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, setSourceLine从接口继承的方法 com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParent从接口继承的方法 com.alibaba.druid.sql.ast.SQLStatement
clone, getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setHeadHints, toLowerCaseString, toParameterizedString, toString, toString
-
字段详细资料
-
range
protected boolean range -
clusteredBy
-
sortedBy
-
buckets
protected int buckets -
shards
protected int shards
-
-
构造器详细资料
-
SQLAlterTableStatement
public SQLAlterTableStatement() -
SQLAlterTableStatement
-
-
方法详细资料
-
isOnly
public boolean isOnly() -
setOnly
public void setOnly(boolean only) -
isIgnore
public boolean isIgnore() -
setIgnore
public void setIgnore(boolean ignore) -
isOnline
public boolean isOnline() -
setOnline
public void setOnline(boolean online) -
isOffline
public boolean isOffline() -
setOffline
public void setOffline(boolean offline) -
isIfExists
public boolean isIfExists() -
setIfExists
public void setIfExists(boolean ifExists) -
isRemovePatiting
public boolean isRemovePatiting() -
setRemovePatiting
public void setRemovePatiting(boolean removePatiting) -
isUpgradePatiting
public boolean isUpgradePatiting() -
setUpgradePatiting
public void setUpgradePatiting(boolean upgradePatiting) -
isUpdateGlobalIndexes
public boolean isUpdateGlobalIndexes() -
setUpdateGlobalIndexes
public void setUpdateGlobalIndexes(boolean updateGlobalIndexes) -
isInvalidateGlobalIndexes
public boolean isInvalidateGlobalIndexes() -
setInvalidateGlobalIndexes
public void setInvalidateGlobalIndexes(boolean invalidateGlobalIndexes) -
isMergeSmallFiles
public boolean isMergeSmallFiles() -
setMergeSmallFiles
public void setMergeSmallFiles(boolean mergeSmallFiles) -
getItems
-
addItem
-
getTableSource
-
setTableSource
-
setTableSource
-
getName
-
nameHashCode64
public long nameHashCode64() -
setName
-
getTableOptions
-
getPartition
-
setPartition
-
accept0
- 覆盖:
accept0在类中SQLStatementImpl
-
getChildren
- 指定者:
getChildren在接口中SQLStatement- 覆盖:
getChildren在类中SQLStatementImpl
-
getTableName
-
getSchema
-
setItems
-
isRange
public boolean isRange() -
setRange
public void setRange(boolean range) -
getClusteredBy
-
addClusteredByItem
-
getSortedBy
-
addSortedByItem
-
getBuckets
public int getBuckets() -
setBuckets
public void setBuckets(int buckets) -
getShards
public int getShards() -
setShards
public void setShards(int shards) -
isNotClustered
public boolean isNotClustered() -
setNotClustered
public void setNotClustered(boolean notClustered) -
getDDLObjectType
- 指定者:
getDDLObjectType在接口中SQLAlterStatement- 指定者:
getDDLObjectType在接口中SQLDDLStatement
-
getOn
-
setOn
-