Class SqlIndex


public class SqlIndex extends SqlArtifact
Author:
Jorge Campins
  • Constructor Details

    • SqlIndex

      public SqlIndex(SqlTable table)
  • Method Details

    • getTable

      public SqlTable getTable()
      Returns:
      the table
    • getPosition

      public int getPosition()
      Returns:
      the ordinal position
    • isUnique

      public boolean isUnique()
      Returns:
      the unique indicator
    • getColumnsMap

      public Map<String,SqlIndexColumn> getColumnsMap()
      Returns:
      the columns map
    • getColumns

      public Collection<SqlIndexColumn> getColumns()
      Returns:
      the columns list
    • getQualifiedName

      public String getQualifiedName()
    • isSingleColumnIndex

      public boolean isSingleColumnIndex()
      Returns:
      the single column index flag
    • getSingleColumn

      public SqlColumn getSingleColumn()
      Returns:
      the column
    • getSingleColumnOption

      public String getSingleColumnOption()
      Returns:
      the option