public interface Indexer
Modifier and Type | Method and Description |
---|---|
void |
createKeys(Schema schema,
ByteSequence value,
Collection<ByteString> keys)
Generates the set of index keys for an attribute.
|
String |
getIndexId()
Returns an index identifier associated with this indexer.
|
String |
keyToHumanReadableString(ByteSequence key)
Returns a human readable representation of the key.
|
String getIndexId()
void createKeys(Schema schema, ByteSequence value, Collection<ByteString> keys) throws DecodeException
schema
- The schema in which the associated matching rule is defined.value
- The attribute value for which keys are required.keys
- A collection where to add the created keys.DecodeException
- if an error occurs while normalizing the valueString keyToHumanReadableString(ByteSequence key)
key
- the byte string for the index key.Copyright 2010-2022 ForgeRock AS.