public class PresenceIndexer extends Indexer
| Constructor and Description |
|---|
PresenceIndexer(AttributeType attributeType)
Create a new attribute presence indexer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
indexEntry(Entry entry,
Set<org.forgerock.opendj.ldap.ByteString> keys)
Generate the set of index keys for an entry.
|
void |
modifyEntry(Entry oldEntry,
Entry newEntry,
List<Modification> mods,
Map<org.forgerock.opendj.ldap.ByteString,Boolean> modifiedKeys)
Generate the set of index keys to be added and the set of index keys
to be deleted for an entry that was modified.
|
String |
toString()
Get a string representation of this object.
|
getBSComparator, getComparatorpublic PresenceIndexer(AttributeType attributeType)
attributeType - The attribute type for which the indexer
is required.public String toString()
public void indexEntry(Entry entry, Set<org.forgerock.opendj.ldap.ByteString> keys)
indexEntry in class Indexerentry - The entry.keys - The set into which the generated keys will be inserted.public void modifyEntry(Entry oldEntry, Entry newEntry, List<Modification> mods, Map<org.forgerock.opendj.ldap.ByteString,Boolean> modifiedKeys)
modifyEntry in class IndexeroldEntry - The original entry contents.newEntry - The new entry contents.mods - The set of modifications that were applied to the entry.modifiedKeys - The map into which the modified keys will be inserted.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.