Package com.alibaba.druid.sql.ast
Class SQLIndexDefinition
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLIndexDefinition
version 1.0
Author zzy
Date 2019-06-04 11:27
-
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) voidvoidcloneTo(SQLIndexDefinition definition) getName()getOption(long hash64) getTable()getType()booleanbooleanbooleanisGlobal()booleanbooleanbooleanisIndex()booleanisKey()booleanisLocal()voidsetAnalyzerName(SQLName analyzerName) voidsetColumns(List<SQLSelectOrderByItem> columns) voidsetCovering(List<SQLName> covering) voidsetDbPartitionBy(SQLExpr dbPartitionBy) voidsetGlobal(boolean global) voidsetHasConstraint(boolean hasConstraint) voidsetHashMapType(boolean hashMapType) voidsetHashType(boolean hashType) voidsetIndex(boolean index) voidsetIndexAnalyzerName(SQLName indexAnalyzerName) voidsetKey(boolean key) voidsetLocal(boolean local) voidvoidsetQueryAnalyzerName(SQLName queryAnalyzerName) voidvoidsetTable(SQLTableSource table) voidsetTbPartitionBy(SQLExpr tbPartitionBy) voidsetTbPartitions(SQLExpr tbPartitions) voidvoidsetWithDicName(SQLName withDicName) Methods 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
-
SQLIndexDefinition
public SQLIndexDefinition()
-
-
Method Details
-
hasConstraint
public boolean hasConstraint() -
setHasConstraint
public void setHasConstraint(boolean hasConstraint) -
getSymbol
-
setSymbol
-
isGlobal
public boolean isGlobal() -
setGlobal
public void setGlobal(boolean global) -
isLocal
public boolean isLocal() -
setLocal
public void setLocal(boolean local) -
getType
-
setType
-
isHashMapType
public boolean isHashMapType() -
setHashMapType
public void setHashMapType(boolean hashMapType) -
isHashType
public boolean isHashType() -
setHashType
public void setHashType(boolean hashType) -
isIndex
public boolean isIndex() -
setIndex
public void setIndex(boolean index) -
isKey
public boolean isKey() -
setKey
public void setKey(boolean key) -
getName
-
setName
-
getTable
-
setTable
-
getColumns
- Specified by:
getColumnsin interfaceSQLIndex
-
setColumns
-
hasOptions
public boolean hasOptions() -
getOptions
-
getDbPartitionBy
-
setDbPartitionBy
-
getTbPartitionBy
-
setTbPartitionBy
-
getTbPartitions
-
setTbPartitions
-
getCovering
- Specified by:
getCoveringin interfaceSQLIndex
-
setCovering
-
getAnalyzerName
-
setAnalyzerName
-
getIndexAnalyzerName
-
setIndexAnalyzerName
-
getQueryAnalyzerName
-
setQueryAnalyzerName
-
getWithDicName
-
setWithDicName
-
getCompatibleOptions
-
accept0
- Specified by:
accept0in classSQLObjectImpl
-
cloneTo
-
addOption
-
getOption
-
getOption
-
getDistanceMeasure
-
getAlgorithm
-