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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
accept0
(SQLASTVisitor visitor) void
void
cloneTo
(SQLIndexDefinition definition) getName()
getOption
(long hash64) getTable()
getType()
boolean
boolean
boolean
isGlobal()
boolean
boolean
boolean
isIndex()
boolean
isKey()
boolean
isLocal()
void
setAnalyzerName
(SQLName analyzerName) void
setColumns
(List<SQLSelectOrderByItem> columns) void
setCovering
(List<SQLName> covering) void
setDbPartitionBy
(SQLExpr dbPartitionBy) void
setGlobal
(boolean global) void
setHasConstraint
(boolean hasConstraint) void
setHashMapType
(boolean hashMapType) void
setHashType
(boolean hashType) void
setIndex
(boolean index) void
setIndexAnalyzerName
(SQLName indexAnalyzerName) void
setKey
(boolean key) void
setLocal
(boolean local) void
void
setQueryAnalyzerName
(SQLName queryAnalyzerName) void
void
setTable
(SQLTableSource table) void
setTbPartitionBy
(SQLExpr tbPartitionBy) void
setTbPartitions
(SQLExpr tbPartitions) void
void
setWithDicName
(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, toString
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
getColumns
in interfaceSQLIndex
-
setColumns
-
hasOptions
public boolean hasOptions() -
getOptions
-
getDbPartitionBy
-
setDbPartitionBy
-
getTbPartitionBy
-
setTbPartitionBy
-
getTbPartitions
-
setTbPartitions
-
getCovering
- Specified by:
getCovering
in interfaceSQLIndex
-
setCovering
-
getAnalyzerName
-
setAnalyzerName
-
getIndexAnalyzerName
-
setIndexAnalyzerName
-
getQueryAnalyzerName
-
setQueryAnalyzerName
-
getWithDicName
-
setWithDicName
-
getCompatibleOptions
-
accept0
- Specified by:
accept0
in classSQLObjectImpl
-
cloneTo
-
addOption
-
getOption
-
getOption
-
getDistanceMeasure
-
getAlgorithm
-