public class VLVIndexDescriptor extends AbstractIndexDescriptor
Constructor and Description |
---|
VLVIndexDescriptor(String name,
BackendDescriptor backend,
org.forgerock.opendj.ldap.Dn baseDN,
org.forgerock.opendj.ldap.SearchScope scope,
String filter,
List<VLVSortOrder> sortOrder)
Constructor for the VLVIndexDescriptor.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(AbstractIndexDescriptor o) |
boolean |
equals(Object o) |
static org.forgerock.opendj.server.config.meta.BackendVlvIndexCfgDefn.Scope |
getBackendVLVIndexScope(org.forgerock.opendj.ldap.SearchScope scope)
Returns the equivalent
BackendVlvIndexCfgDefn.Scope to the provided
search scope. |
org.forgerock.opendj.ldap.Dn |
getBaseDN()
Returns the baseDN of the search indexed by the VLV index.
|
String |
getFilter()
Returns the filter of the search indexed by the VLV index.
|
org.forgerock.opendj.ldap.SearchScope |
getScope()
Returns the scope of the search indexed by the VLV index.
|
List<VLVSortOrder> |
getSortOrder()
Returns the sort order list of the VLV index.
|
int |
hashCode() |
protected void |
recalculateHashCode()
Method used to minimize the times the hashcode is calculated.
|
static org.forgerock.opendj.ldap.SearchScope |
toSearchScope(org.forgerock.opendj.server.config.meta.BackendVlvIndexCfgDefn.Scope scope)
Convert the provided
BackendVlvIndexCfgDefn.Scope to
SearchScope . |
getBackend, getName, setBackend
public VLVIndexDescriptor(String name, BackendDescriptor backend, org.forgerock.opendj.ldap.Dn baseDN, org.forgerock.opendj.ldap.SearchScope scope, String filter, List<VLVSortOrder> sortOrder)
name
- the name of the index.backend
- the backend where the index is defined.baseDN
- the baseDN of the search indexed by the VLV index.scope
- the scope of the search indexed by the VLV index.filter
- the filter or the search indexed by the VLV index.sortOrder
- the sort order list of the VLV index.public int compareTo(AbstractIndexDescriptor o)
public org.forgerock.opendj.ldap.Dn getBaseDN()
public String getFilter()
public org.forgerock.opendj.ldap.SearchScope getScope()
public List<VLVSortOrder> getSortOrder()
protected void recalculateHashCode()
AbstractIndexDescriptor
recalculateHashCode
in class AbstractIndexDescriptor
public static org.forgerock.opendj.server.config.meta.BackendVlvIndexCfgDefn.Scope getBackendVLVIndexScope(org.forgerock.opendj.ldap.SearchScope scope)
BackendVlvIndexCfgDefn.Scope
to the provided
search scope.scope
- The SearchScope
to convert.BackendVlvIndexCfgDefn.Scope
to the provided
search scope.public static org.forgerock.opendj.ldap.SearchScope toSearchScope(org.forgerock.opendj.server.config.meta.BackendVlvIndexCfgDefn.Scope scope)
BackendVlvIndexCfgDefn.Scope
to
SearchScope
.scope
- The scope to convert.BackendVlvIndexCfgDefn.Scope
to
SearchScope
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.