public class IndexDescriptor extends AbstractIndexDescriptor
Constructor and Description |
---|
IndexDescriptor(String indexName)
Constructor of the index descriptor.
|
IndexDescriptor(String name,
org.forgerock.opendj.ldap.schema.AttributeType attr,
BackendDescriptor backend,
Set<org.forgerock.opendj.server.config.meta.BackendIndexCfgDefn.IndexType> types,
int entryLimit)
Constructor of the index descriptor.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(AbstractIndexDescriptor o) |
boolean |
equals(Object o) |
org.forgerock.opendj.ldap.schema.AttributeType |
getAttributeType()
Returns the attribute type associated with the index attribute.
|
int |
getEntryLimit()
Returns the entry limit of the index.
|
SortedSet<org.forgerock.opendj.server.config.meta.BackendIndexCfgDefn.IndexType> |
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, org.forgerock.opendj.ldap.schema.AttributeType attr, BackendDescriptor backend, Set<org.forgerock.opendj.server.config.meta.BackendIndexCfgDefn.IndexType> 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 org.forgerock.opendj.ldap.schema.AttributeType getAttributeType()
public int compareTo(AbstractIndexDescriptor o)
public SortedSet<org.forgerock.opendj.server.config.meta.BackendIndexCfgDefn.IndexType> 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-2017 ForgeRock AS. All Rights Reserved.