public class VLVIndexDescriptor extends AbstractIndexDescriptor
| Constructor and Description |
|---|
VLVIndexDescriptor(String name,
BackendDescriptor backend,
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 BackendVLVIndexCfgDefn.Scope |
getBackendVLVIndexScope(org.forgerock.opendj.ldap.SearchScope scope)
Returns the equivalent
BackendVLVIndexCfgDefn.Scope to the provided
search scope. |
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.
|
static LocalDBVLVIndexCfgDefn.Scope |
getLocalDBVLVIndexScope(org.forgerock.opendj.ldap.SearchScope scope)
Returns the equivalent
LocalDBVLVIndexCfgDefn.Scope to the provided
search scope. |
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(BackendVLVIndexCfgDefn.Scope scope)
Convert the provided
BackendVLVIndexCfgDefn.Scope to
SearchScope. |
static org.forgerock.opendj.ldap.SearchScope |
toSearchScope(LocalDBVLVIndexCfgDefn.Scope scope)
Convert the provided
LocalDBVLVIndexCfgDefn.Scope to
SearchScope. |
getBackend, getName, setBackendpublic VLVIndexDescriptor(String name, BackendDescriptor backend, 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 DN getBaseDN()
public String getFilter()
public org.forgerock.opendj.ldap.SearchScope getScope()
public List<VLVSortOrder> getSortOrder()
protected void recalculateHashCode()
AbstractIndexDescriptorrecalculateHashCode in class AbstractIndexDescriptorpublic static 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 LocalDBVLVIndexCfgDefn.Scope getLocalDBVLVIndexScope(org.forgerock.opendj.ldap.SearchScope scope)
LocalDBVLVIndexCfgDefn.Scope to the provided
search scope.scope - The SearchScope to convert.LocalDBVLVIndexCfgDefn.Scope to the provided
search scope.public static org.forgerock.opendj.ldap.SearchScope toSearchScope(BackendVLVIndexCfgDefn.Scope scope)
BackendVLVIndexCfgDefn.Scope to
SearchScope.scope - The scope to convert.BackendVLVIndexCfgDefn.Scope to
SearchScopepublic static org.forgerock.opendj.ldap.SearchScope toSearchScope(LocalDBVLVIndexCfgDefn.Scope scope)
LocalDBVLVIndexCfgDefn.Scope to
SearchScope.scope - The scope to convert.LocalDBVLVIndexCfgDefn.Scope to
SearchScopeCopyright © 2010-2015 ForgeRock AS. All Rights Reserved.