Package com.alibaba.druid.sql.ast
Class SQLAnnIndex
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLAnnIndex
- All Implemented Interfaces:
SQLObject
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
-
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
clone()
int
int
void
setDistance
(SQLAnnIndex.Distance distance) void
setDistance
(String distance) void
setIndexType
(SQLAnnIndex.IndexType indexType, boolean state) void
setIndexType
(String type) void
setRtIndexType
(SQLAnnIndex.IndexType indexType, boolean state) void
setRtIndexType
(String type) Methods 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, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLine, toString
-
Constructor Details
-
SQLAnnIndex
public SQLAnnIndex()
-
-
Method Details
-
clone
- Specified by:
clone
in interfaceSQLObject
- Overrides:
clone
in classSQLObjectImpl
-
accept0
- Specified by:
accept0
in classSQLObjectImpl
-
setIndexType
-
setIndexType
-
setRtIndexType
-
setRtIndexType
-
getIndexType
public int getIndexType() -
getRtIndexType
public int getRtIndexType() -
getDistance
-
setDistance
-
setDistance
-