Class StarRocksIndexDefinition
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.dialect.starrocks.ast.StarRocksIndexDefinition
-
- All Implemented Interfaces:
SQLObject,SQLTableElement
public class StarRocksIndexDefinition extends SQLObjectImpl implements SQLTableElement
INDEX index_name (col_name[, col_name, ...]) [USING BITMAP] [COMMENT '']- Author:
- lizongbo
- See Also:
- ...
-
-
Field Summary
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description StarRocksIndexDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaccept0(SQLASTVisitor v)StarRocksIndexDefinitionclone()List<SQLName>getColumns()SQLExprgetComment()SQLNamegetIndexName()List<SQLAssignItem>getIndexOption()StringgetIndexType()voidsetColumns(List<SQLName> columns)voidsetComment(SQLExpr comment)voidsetIndexName(SQLName indexName)voidsetIndexType(String indexType)-
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
-
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, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSource
-
-
-
-
Method Detail
-
getIndexOption
public List<SQLAssignItem> getIndexOption()
-
getIndexType
public String getIndexType()
-
setIndexType
public void setIndexType(String indexType)
-
getIndexName
public SQLName getIndexName()
-
setIndexName
public void setIndexName(SQLName indexName)
-
getComment
public SQLExpr getComment()
-
setComment
public void setComment(SQLExpr comment)
-
accept0
protected void accept0(SQLASTVisitor v)
- Specified by:
accept0in classSQLObjectImpl
-
clone
public StarRocksIndexDefinition clone()
- Specified by:
clonein interfaceSQLObject- Specified by:
clonein interfaceSQLTableElement- Overrides:
clonein classSQLObjectImpl
-
-