Class SQLIndexDefinition

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

public class SQLIndexDefinition extends SQLObjectImpl implements SQLIndex
version 1.0 Author zzy Date 2019-06-04 11:27
  • Constructor Details

    • SQLIndexDefinition

      public SQLIndexDefinition()
  • Method Details

    • hasConstraint

      public boolean hasConstraint()
    • setHasConstraint

      public void setHasConstraint(boolean hasConstraint)
    • getSymbol

      public SQLName getSymbol()
    • setSymbol

      public void setSymbol(SQLName symbol)
    • isGlobal

      public boolean isGlobal()
    • setGlobal

      public void setGlobal(boolean global)
    • isLocal

      public boolean isLocal()
    • setLocal

      public void setLocal(boolean local)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • 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

      public SQLName getName()
    • setName

      public void setName(SQLName name)
    • getTable

      public SQLTableSource getTable()
    • setTable

      public void setTable(SQLTableSource table)
    • getColumns

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

      public void setColumns(List<SQLSelectOrderByItem> columns)
    • hasOptions

      public boolean hasOptions()
    • getOptions

      public SQLIndexOptions getOptions()
    • getDbPartitionBy

      public SQLExpr getDbPartitionBy()
    • setDbPartitionBy

      public void setDbPartitionBy(SQLExpr dbPartitionBy)
    • getTbPartitionBy

      public SQLExpr getTbPartitionBy()
    • setTbPartitionBy

      public void setTbPartitionBy(SQLExpr tbPartitionBy)
    • getTbPartitions

      public SQLExpr getTbPartitions()
    • setTbPartitions

      public void setTbPartitions(SQLExpr tbPartitions)
    • getCovering

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

      public void setCovering(List<SQLName> covering)
    • getAnalyzerName

      public SQLName getAnalyzerName()
    • setAnalyzerName

      public void setAnalyzerName(SQLName analyzerName)
    • getIndexAnalyzerName

      public SQLName getIndexAnalyzerName()
    • setIndexAnalyzerName

      public void setIndexAnalyzerName(SQLName indexAnalyzerName)
    • getQueryAnalyzerName

      public SQLName getQueryAnalyzerName()
    • setQueryAnalyzerName

      public void setQueryAnalyzerName(SQLName queryAnalyzerName)
    • getWithDicName

      public SQLName getWithDicName()
    • setWithDicName

      public void setWithDicName(SQLName withDicName)
    • getCompatibleOptions

      public List<SQLAssignItem> getCompatibleOptions()
    • accept0

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

      public void cloneTo(SQLIndexDefinition definition)
    • addOption

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

      public SQLExpr getOption(String name)
    • getOption

      public SQLExpr getOption(long hash64)
    • getDistanceMeasure

      public String getDistanceMeasure()
    • getAlgorithm

      public String getAlgorithm()