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 © 2017-2020 Wren Security. All Rights Reserved.