Class SQLAlterTableAlterIndex

java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.statement.SQLAlterTableAlterIndex
All Implemented Interfaces:
SQLIndex, SQLObject, SQLAlterTableItem

public class SQLAlterTableAlterIndex extends SQLObjectImpl implements SQLAlterTableItem, SQLIndex
  • Constructor Details

    • SQLAlterTableAlterIndex

      public SQLAlterTableAlterIndex()
  • Method Details

    • getIndexDefinition

      public SQLIndexDefinition getIndexDefinition()
    • accept0

      protected void accept0(SQLASTVisitor visitor)
      Specified by:
      accept0 in class SQLObjectImpl
    • isUnique

      public boolean isUnique()
    • setUnique

      public void setUnique(boolean unique)
    • getItems

      public List<SQLSelectOrderByItem> getItems()
    • addItem

      public void addItem(SQLSelectOrderByItem item)
    • getName

      public SQLName getName()
    • setName

      public void setName(SQLName name)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getUsing

      public String getUsing()
    • setUsing

      public void setUsing(String using)
    • isKey

      public boolean isKey()
    • setKey

      public void setKey(boolean key)
    • cloneTo

      public void cloneTo(MySqlTableIndex x)
    • cloneTo

      public void cloneTo(MySqlKey x)
    • getComment

      public SQLExpr getComment()
    • setComment

      public void setComment(SQLExpr comment)
    • getKeyBlockSize

      public SQLExpr getKeyBlockSize()
    • setKeyBlockSize

      public void setKeyBlockSize(SQLExpr keyBlockSize)
    • getParserName

      public String getParserName()
    • setParserName

      public void setParserName(String parserName)
    • isHashMapType

      public boolean isHashMapType()
    • setHashMapType

      public void setHashMapType(boolean hashMapType)
    • getOption

      protected SQLExpr getOption(long hash64)
    • getDistanceMeasure

      public String getDistanceMeasure()
    • getAlgorithm

      public String getAlgorithm()
    • addOption

      public void addOption(String name, SQLExpr value)
    • getOptions

      public List<SQLAssignItem> getOptions()
    • isGlobal

      public boolean isGlobal()
    • setGlobal

      public void setGlobal(boolean global)
    • getDbPartitionBy

      public SQLExpr getDbPartitionBy()
    • setDbPartitionBy

      public void setDbPartitionBy(SQLExpr x)
    • getTablePartitionBy

      public SQLExpr getTablePartitionBy()
    • setTablePartitionBy

      public void setTablePartitionBy(SQLExpr x)
    • getTablePartitions

      public SQLExpr getTablePartitions()
    • setTablePartitions

      public void setTablePartitions(SQLExpr x)
    • getCovering

      public List<SQLName> getCovering()
      Specified by:
      getCovering in interface SQLIndex
    • getColumns

      public List<SQLSelectOrderByItem> getColumns()
      Specified by:
      getColumns in interface SQLIndex