public class HashIdForwardIndexAccessor<Key,Value,Input> extends AbstractMapForwardIndexAccessor<Key,Value,java.lang.Integer> implements IntForwardIndexAccessor<Key,Value>
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
convertToDataType(InputData<Key,Value> data) |
protected java.util.Map<Key,Value> |
convertToMap(java.lang.Integer hashId) |
InputDataDiffBuilder<Key,Value> |
getDiffBuilderFromInt(int inputId,
int hashId)
creates a diff builder for given inputId.
|
int |
serializeIndexedDataToInt(InputData<Key,Value> data) |
convertToInputDataMap, createDiffBuilder
deserializeData, deserializeFromByteSeq, getBufferInitialSize, getDiffBuilder, serializeIndexedData, serializeIndexedData, serializeToByteSeq
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDiffBuilder, serializeIndexedData
protected java.util.Map<Key,Value> convertToMap(java.lang.Integer hashId) throws java.io.IOException
convertToMap
in class AbstractMapForwardIndexAccessor<Key,Value,java.lang.Integer>
java.io.IOException
public InputDataDiffBuilder<Key,Value> getDiffBuilderFromInt(int inputId, int hashId) throws java.io.IOException
IntForwardIndexAccessor
getDiffBuilderFromInt
in interface IntForwardIndexAccessor<Key,Value>
java.io.IOException
public int serializeIndexedDataToInt(InputData<Key,Value> data)
serializeIndexedDataToInt
in interface IntForwardIndexAccessor<Key,Value>
public java.lang.Integer convertToDataType(InputData<Key,Value> data)
convertToDataType
in class AbstractForwardIndexAccessor<Key,Value,java.lang.Integer>