public class IndexDescriptor extends AbstractIndexDescriptor
Constructor and Description |
---|
IndexDescriptor(String indexName)
Constructor of the index descriptor.
|
IndexDescriptor(String name,
AttributeType attr,
BackendDescriptor backend,
Set<IndexTypeDescriptor> types,
int entryLimit)
Constructor of the index descriptor.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(AbstractIndexDescriptor o) |
boolean |
equals(Object o) |
AttributeType |
getAttributeType()
Returns the attribute type associated with the index attribute.
|
int |
getEntryLimit()
Returns the entry limit of the index.
|
SortedSet<IndexTypeDescriptor> |
getTypes()
Returns the type of indexes (equality, substring, etc.).
|
int |
hashCode() |
boolean |
isDatabaseIndex()
Tells whether this is a database index or not.
|
protected void |
recalculateHashCode()
Method used to minimize the times the hashcode is calculated.
|
getBackend, getName, setBackend
public IndexDescriptor(String indexName)
indexName
- name of the index.public IndexDescriptor(String name, AttributeType attr, BackendDescriptor backend, Set<IndexTypeDescriptor> types, int entryLimit)
name
- name of the index.attr
- the attribute type associated with the index attribute.backend
- the backend where the index is defined.types
- the type of indexes (equality, substring, etc.).entryLimit
- the entry limit for the index.public AttributeType getAttributeType()
public int compareTo(AbstractIndexDescriptor o)
public SortedSet<IndexTypeDescriptor> getTypes()
public boolean isDatabaseIndex()
true
if this is a database index and
false
otherwise.public int getEntryLimit()
protected void recalculateHashCode()
AbstractIndexDescriptor
recalculateHashCode
in class AbstractIndexDescriptor
Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.