K- the key type of the index or the type of data that the collection is being indexed on. It must be a concretion of
V- the value type of the collection being indexed
public interface KeyExtractor<K extends ValueKey,V extends java.io.Serializable> extends java.io.Serializable
BlueIndexclass to extract data in the form of index keys from each value in the
BlueCollection. The value can then be quickly found using those index keys.
UUIDIndexKeyExtractor. Note that key extractors are serialized by
BlueIndexand for this reason it is NOT recommended to use lambdas or anonymous inner classes to define key extractors.
BlueIndexclass uses this method to map the resulting index keys to this value.
value- the value from which index keys are to be extracted