Class SQLAlterTableAlterIndex
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.statement.SQLAlterTableAlterIndex
- All Implemented Interfaces:
SQLIndex,SQLObject,SQLAlterTableItem
-
Field Summary
Fields 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) voidvoidvoidgetItems()getName()protected SQLExprgetOption(long hash64) getType()getUsing()booleanisGlobal()booleanbooleanisKey()booleanisUnique()voidsetComment(SQLExpr comment) voidvoidsetGlobal(boolean global) voidsetHashMapType(boolean hashMapType) voidsetKey(boolean key) voidsetKeyBlockSize(SQLExpr keyBlockSize) voidvoidsetParserName(String parserName) voidvoidvoidvoidsetUnique(boolean unique) voidMethods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, clone, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLine, toStringMethods 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, clone, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, output, putAttribute, setParent
-
Constructor Details
-
SQLAlterTableAlterIndex
public SQLAlterTableAlterIndex()
-
-
Method Details
-
getIndexDefinition
-
accept0
- Specified by:
accept0in classSQLObjectImpl
-
isUnique
public boolean isUnique() -
setUnique
public void setUnique(boolean unique) -
getItems
-
addItem
-
getName
-
setName
-
getType
-
setType
-
getUsing
-
setUsing
-
isKey
public boolean isKey() -
setKey
public void setKey(boolean key) -
cloneTo
-
cloneTo
-
getComment
-
setComment
-
getKeyBlockSize
-
setKeyBlockSize
-
getParserName
-
setParserName
-
isHashMapType
public boolean isHashMapType() -
setHashMapType
public void setHashMapType(boolean hashMapType) -
getOption
-
getDistanceMeasure
-
getAlgorithm
-
addOption
-
getOptions
-
isGlobal
public boolean isGlobal() -
setGlobal
public void setGlobal(boolean global) -
getDbPartitionBy
-
setDbPartitionBy
-
getTablePartitionBy
-
setTablePartitionBy
-
getTablePartitions
-
setTablePartitions
-
getCovering
- Specified by:
getCoveringin interfaceSQLIndex
-
getColumns
- Specified by:
getColumnsin interfaceSQLIndex
-