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
public class SQLAnnIndex extends SQLObjectImpl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSQLAnnIndex.Distancestatic classSQLAnnIndex.IndexType
-
Field Summary
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description SQLAnnIndex()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaccept0(SQLASTVisitor v)SQLAnnIndexclone()SQLAnnIndex.DistancegetDistance()intgetIndexType()intgetRtIndexType()voidsetDistance(SQLAnnIndex.Distance distance)voidsetDistance(String distance)voidsetIndexType(SQLAnnIndex.IndexType indexType, boolean state)voidsetIndexType(String type)voidsetRtIndexType(SQLAnnIndex.IndexType indexType, boolean state)voidsetRtIndexType(String type)-
Methods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, cloneTo, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSource, setSourceLine, toString
-
-
-
-
Method Detail
-
clone
public SQLAnnIndex clone()
- Specified by:
clonein interfaceSQLObject- Overrides:
clonein classSQLObjectImpl
-
accept0
protected void accept0(SQLASTVisitor v)
- Specified by:
accept0in classSQLObjectImpl
-
setIndexType
public void setIndexType(String type)
-
setIndexType
public void setIndexType(SQLAnnIndex.IndexType indexType, boolean state)
-
setRtIndexType
public void setRtIndexType(SQLAnnIndex.IndexType indexType, boolean state)
-
setRtIndexType
public void setRtIndexType(String type)
-
getIndexType
public int getIndexType()
-
getRtIndexType
public int getRtIndexType()
-
getDistance
public SQLAnnIndex.Distance getDistance()
-
setDistance
public void setDistance(SQLAnnIndex.Distance distance)
-
setDistance
public void setDistance(String distance)
-
-