org.geotools.jdbc
Class Index

Object
  extended by Index

public class Index
extends Object

Represents a database index

Author:
Andrea Aime - GeoSolutions

Constructor Summary
Index(String typeName, String indexName, boolean unique, Hints hints, String... attributes)
           
Index(String typeName, String indexName, boolean unique, String... attributes)
           
 
Method Summary
 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

Returns:

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

Returns:

getHints

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

Returns:

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


Copyright © 1996-2014 Geotools. All Rights Reserved.