public class KeyCollectionForwardIndexAccessor<Key,Value> extends AbstractForwardIndexAccessor<Key,Value,java.util.Collection<Key>>
Constructor and Description |
---|
KeyCollectionForwardIndexAccessor(DataExternalizer<java.util.Collection<Key>> externalizer) |
KeyCollectionForwardIndexAccessor(IndexExtension<Key,Value,?> extension) |
KeyCollectionForwardIndexAccessor(KeyDescriptor<Key> externalizer,
IndexId<Key,Value> indexId) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Key> |
convertToDataType(InputData<Key,Value> data) |
protected InputDataDiffBuilder<Key,Value> |
createDiffBuilder(int inputId,
java.util.Collection<Key> keys) |
protected int |
getBufferInitialSize(java.util.Collection<Key> keys) |
deserializeData, deserializeFromByteSeq, getDiffBuilder, serializeIndexedData, serializeIndexedData, serializeToByteSeq
public KeyCollectionForwardIndexAccessor(DataExternalizer<java.util.Collection<Key>> externalizer)
public KeyCollectionForwardIndexAccessor(IndexExtension<Key,Value,?> extension)
public KeyCollectionForwardIndexAccessor(KeyDescriptor<Key> externalizer, IndexId<Key,Value> indexId)
protected InputDataDiffBuilder<Key,Value> createDiffBuilder(int inputId, java.util.Collection<Key> keys)
createDiffBuilder
in class AbstractForwardIndexAccessor<Key,Value,java.util.Collection<Key>>
public java.util.Collection<Key> convertToDataType(InputData<Key,Value> data)
convertToDataType
in class AbstractForwardIndexAccessor<Key,Value,java.util.Collection<Key>>
protected int getBufferInitialSize(java.util.Collection<Key> keys)
getBufferInitialSize
in class AbstractForwardIndexAccessor<Key,Value,java.util.Collection<Key>>