类 SQLTruncateStatement
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLStatementImpl
com.alibaba.druid.sql.ast.statement.SQLTruncateStatement
- 所有已实现的接口:
SQLDbTypedObject,SQLObject,SQLStatement
-
字段概要
字段修饰符和类型字段说明protected booleanprotected booleanprotected List<SQLAssignItem>protected List<SQLIntegerExpr>protected List<SQLExprTableSource>从类继承的字段 com.alibaba.druid.sql.ast.SQLStatementImpl
afterSemi, dbType, headHints从类继承的字段 com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected voidaccept0(SQLASTVisitor visitor) voidaddTableSource(SQLName name) booleanbooleanbooleanbooleanbooleanbooleanisOnly()booleanbooleanbooleanbooleanvoidsetCascade(Boolean cascade) voidsetContinueIdentity(boolean continueIdentity) voidsetDropStorage(boolean dropStorage) voidsetIfExists(boolean ifExists) voidsetIgnoreDeleteTriggers(boolean ignoreDeleteTriggers) voidsetImmediate(boolean immediate) voidsetOnly(boolean only) voidsetPartitionAll(boolean partitionAll) voidsetPurgeSnapshotLog(boolean purgeSnapshotLog) voidsetRestartIdentity(Boolean restartIdentity) voidsetRestrictWhenDeleteTriggers(boolean restrictWhenDeleteTriggers) voidsetReuseStorage(boolean reuseStorage) voidsetTableSources(List<SQLExprTableSource> tableSources) 从类继承的方法 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
-
字段详细资料
-
tableSources
-
ifExists
protected boolean ifExists -
partitions
-
partitionAll
protected boolean partitionAll -
partitionsForADB
-
-
构造器详细资料
-
SQLTruncateStatement
public SQLTruncateStatement() -
SQLTruncateStatement
-
-
方法详细资料
-
getTableSources
-
setTableSources
-
addTableSource
-
accept0
- 覆盖:
accept0在类中SQLStatementImpl
-
isPurgeSnapshotLog
public boolean isPurgeSnapshotLog() -
setPurgeSnapshotLog
public void setPurgeSnapshotLog(boolean purgeSnapshotLog) -
isOnly
public boolean isOnly() -
setOnly
public void setOnly(boolean only) -
getRestartIdentity
-
setRestartIdentity
-
getCascade
-
setCascade
-
isDropStorage
public boolean isDropStorage() -
setDropStorage
public void setDropStorage(boolean dropStorage) -
isReuseStorage
public boolean isReuseStorage() -
setReuseStorage
public void setReuseStorage(boolean reuseStorage) -
isImmediate
public boolean isImmediate() -
setImmediate
public void setImmediate(boolean immediate) -
isIgnoreDeleteTriggers
public boolean isIgnoreDeleteTriggers() -
setIgnoreDeleteTriggers
public void setIgnoreDeleteTriggers(boolean ignoreDeleteTriggers) -
isRestrictWhenDeleteTriggers
public boolean isRestrictWhenDeleteTriggers() -
setRestrictWhenDeleteTriggers
public void setRestrictWhenDeleteTriggers(boolean restrictWhenDeleteTriggers) -
isContinueIdentity
public boolean isContinueIdentity() -
setContinueIdentity
public void setContinueIdentity(boolean continueIdentity) -
getChildren
- 指定者:
getChildren在接口中SQLStatement- 覆盖:
getChildren在类中SQLStatementImpl
-
isIfExists
public boolean isIfExists() -
setIfExists
public void setIfExists(boolean ifExists) -
getPartitions
-
isPartitionAll
public boolean isPartitionAll() -
setPartitionAll
public void setPartitionAll(boolean partitionAll) -
getPartitionsForADB
-