Class Index


  • public class Index
    extends Object
    Represents a database index
    Author:
    Andrea Aime - GeoSolutions
    • Constructor Summary

      Constructors 
      Constructor Description
      Index​(String typeName, String indexName, boolean unique, String... attributes)  
      Index​(String typeName, String indexName, boolean unique, Hints hints, String... attributes)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(Object obj)  
      List<String> getAttributes()
      An un-modifiable list of the attributes in the index
      Hints getHints()
      Retrieves the hints for this index.
      String getIndexName()
      The index name
      String getTypeName()
      The feature type owning this index
      int hashCode()  
      boolean isUnique()
      True if the index is a unique one, false otherwise
      String toString()  
      • Methods inherited from class Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Index

        public Index​(String typeName,
                     String indexName,
                     boolean unique,
                     String... attributes)
      • Index

        public Index​(String typeName,
                     String indexName,
                     boolean unique,
                     Hints hints,
                     String... attributes)
    • Method Detail

      • isUnique

        public boolean isUnique()
        True if the index is a unique one, false otherwise
      • getAttributes

        public List<String> getAttributes()
        An un-modifiable list of the attributes in the index
      • getTypeName

        public String getTypeName()
        The feature type owning this index
      • getIndexName

        public String getIndexName()
        The index name
      • getHints

        public Hints getHints()
        Retrieves the hints for this index.
      • toString

        public String toString()
        Overrides:
        toString in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class Object