public class ID2CIndexer extends Indexer
Constructor and Description |
---|
ID2CIndexer()
Create a new indexer for a children index.
|
Modifier and Type | Method and Description |
---|---|
void |
indexEntry(Entry entry,
Set<org.forgerock.opendj.ldap.ByteString> addKeys)
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, getComparator
public ID2CIndexer()
public String toString()
public void indexEntry(Entry entry, Set<org.forgerock.opendj.ldap.ByteString> addKeys)
indexEntry
in class Indexer
entry
- The entry.addKeys
- 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 Indexer
oldEntry
- 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.