Class SQLCreateIndexStatement
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLStatementImpl
com.alibaba.druid.sql.ast.statement.SQLCreateIndexStatement
- All Implemented Interfaces:
SQLDbTypedObject,SQLIndex,SQLObject,SQLStatement,SQLCreateStatement,SQLDDLStatement
- Direct Known Subclasses:
OracleCreateIndexStatement
public class SQLCreateIndexStatement
extends SQLStatementImpl
implements SQLCreateStatement, SQLIndex
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.alibaba.druid.sql.ast.statement.SQLDDLStatement
SQLDDLStatement.DDLObjectType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected SQLTableSourceprotected List<SQLAssignItem>protected SQLExternalRecordFormatprotected SQLNameprotected booleanprotected List<SQLAssignItem>protected SQLNameFields 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 voidaccept0(SQLASTVisitor visitor) voidaddItem(SQLSelectOrderByItem item) voidclone()getIn()getItems()getName()getTable()getType()getUsing()booleanbooleanbooleanisGlobal()booleanbooleanisLocal()booleanvoidvoidsetConcurrently(boolean concurrently) voidvoidsetDeferedRebuild(boolean deferedRebuild) voidsetGlobal(boolean global) voidsetIfNotExists(boolean ifNotExists) voidvoidvoidsetLocal(boolean local) voidvoidvoidvoidsetStoring(boolean storing) voidvoidsetTable(SQLTableSource table) voidvoidvoidvoidvoidMethods inherited from class com.alibaba.druid.sql.ast.SQLStatementImpl
getDbType, getHeadHintsDirect, isAfterSemi, setAfterSemi, setDbType, setHeadHints, toLowerCaseString, toParameterizedString, toString, 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, toString
-
Field Details
-
tablespace
-
deferedRebuild
protected boolean deferedRebuild -
in
-
rowFormat
-
storedAs
-
properties
-
tableProperties
-
storing
protected boolean storing -
ifNotExists
protected boolean ifNotExists
-
-
Constructor Details
-
SQLCreateIndexStatement
public SQLCreateIndexStatement() -
SQLCreateIndexStatement
-
-
Method Details
-
getIndexDefinition
-
getTable
-
setTable
-
setTable
-
getTableName
-
getItems
-
addItem
-
getName
- Specified by:
getNamein interfaceSQLCreateStatement
-
setName
-
getType
-
setType
-
getUsing
-
setUsing
-
accept0
- Overrides:
accept0in classSQLStatementImpl
-
getChildren
- Specified by:
getChildrenin interfaceSQLStatement- Overrides:
getChildrenin classSQLStatementImpl
-
getSchema
-
clone
- Specified by:
clonein interfaceSQLObject- Specified by:
clonein interfaceSQLStatement- Overrides:
clonein classSQLStatementImpl
-
getComment
-
setComment
-
getTablespace
-
setTablespace
-
isConcurrently
public boolean isConcurrently() -
setConcurrently
public void setConcurrently(boolean concurrently) -
getOptions
-
isDeferedRebuild
public boolean isDeferedRebuild() -
setDeferedRebuild
public void setDeferedRebuild(boolean deferedRebuild) -
getIn
-
setIn
-
setIn
-
getStoredAs
-
setStoredAs
-
getRowFormat
-
setRowFormat
-
getProperties
-
getTableProperties
-
addOption
-
isGlobal
public boolean isGlobal() -
setGlobal
public void setGlobal(boolean global) -
isLocal
public boolean isLocal() -
setLocal
public void setLocal(boolean local) -
getDbPartitionBy
-
setDbPartitionBy
-
getTablePartitions
-
setTablePartitions
-
getTablePartitionBy
-
setTablePartitionBy
-
isStoring
public boolean isStoring() -
setStoring
public void setStoring(boolean storing) -
getCovering
- Specified by:
getCoveringin interfaceSQLIndex
-
getColumns
- Specified by:
getColumnsin interfaceSQLIndex
-
isIfNotExists
public boolean isIfNotExists() -
setIfNotExists
public void setIfNotExists(boolean ifNotExists) -
getDDLObjectType
- Specified by:
getDDLObjectTypein interfaceSQLDDLStatement
-