public interface SecondaryKeyProvider
NameSpace
. Implementations must be
thread-safe, as they can be called from multiple threads.Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.lang.String> |
getSecondaryKeyNames()
Get all the secondary key names provided by this implementation.
|
java.util.Collection<java.lang.String> |
getSecondaryKeys(java.lang.String keyName,
java.lang.String primaryKey,
byte[] data)
Get the secondary keys for a record.
|
@NotNull java.util.Collection<java.lang.String> getSecondaryKeyNames()
@NotNull java.util.Collection<java.lang.String> getSecondaryKeys(java.lang.String keyName, java.lang.String primaryKey, byte[] data)
keyName
- the secondary key nameprimaryKey
- the primary keydata
- the record data