Class Index


  • public class Index
    extends Object
    Represents a database index
    Author:
    Andrea Aime - GeoSolutions
    • 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object