Class IndexMetadata

java.lang.Object
org.eclipse.dirigible.database.api.metadata.IndexMetadata

public class IndexMetadata
extends Object
The Index Metadata transport object.
  • Constructor Details

    • IndexMetadata

      public IndexMetadata​(String name, String type, String column, boolean nonUnique, String qualifier, String ordinalPosition, String sortOrder, int cardinality, int pages, String filterCondition)
      Instantiates a new index metadata.
      Parameters:
      name - the name
      type - the type
      column - the column
      nonUnique - the non unique
      qualifier - the qualifier
      ordinalPosition - the ordinal position
      sortOrder - the sort order
      cardinality - the cardinality
      pages - the pages
      filterCondition - the filter condition
  • Method Details

    • getName

      public String getName()
      Gets the name.
      Returns:
      the name
    • setName

      public void setName​(String name)
      Sets the name.
      Parameters:
      name - the new name
    • getType

      public String getType()
      Gets the type.
      Returns:
      the type
    • setType

      public void setType​(String type)
      Sets the type.
      Parameters:
      type - the new type
    • getColumn

      public String getColumn()
      Gets the column.
      Returns:
      the column
    • setColumn

      public void setColumn​(String column)
      Sets the column.
      Parameters:
      column - the new column
    • isNonUnique

      public boolean isNonUnique()
      Checks if is non unique.
      Returns:
      true, if is non unique
    • setNonUnique

      public void setNonUnique​(boolean nonUnique)
      Sets the non unique.
      Parameters:
      nonUnique - the new non unique
    • getQualifier

      public String getQualifier()
      Gets the qualifier.
      Returns:
      the qualifier
    • setQualifier

      public void setQualifier​(String qualifier)
      Sets the qualifier.
      Parameters:
      qualifier - the new qualifier
    • getOrdinalPosition

      public String getOrdinalPosition()
      Gets the ordinal position.
      Returns:
      the ordinal position
    • setOrdinalPosition

      public void setOrdinalPosition​(String ordinalPosition)
      Sets the ordinal position.
      Parameters:
      ordinalPosition - the new ordinal position
    • getSortOrder

      public String getSortOrder()
      Gets the sort order.
      Returns:
      the sort order
    • setSortOrder

      public void setSortOrder​(String sortOrder)
      Sets the sort order.
      Parameters:
      sortOrder - the new sort order
    • getCardinality

      public int getCardinality()
      Gets the cardinality.
      Returns:
      the cardinality
    • setCardinality

      public void setCardinality​(int cardinality)
      Sets the cardinality.
      Parameters:
      cardinality - the new cardinality
    • getPages

      public int getPages()
      Gets the pages.
      Returns:
      the pages
    • setPages

      public void setPages​(int pages)
      Sets the pages.
      Parameters:
      pages - the new pages
    • getFilterCondition

      public String getFilterCondition()
      Gets the filter condition.
      Returns:
      the filter condition
    • setFilterCondition

      public void setFilterCondition​(String filterCondition)
      Sets the filter condition.
      Parameters:
      filterCondition - the new filter condition
    • getKind

      public String getKind()
      Gets the kind.
      Returns:
      the kind
    • setKind

      public void setKind​(String kind)
      Sets the kind.
      Parameters:
      kind - the new kind