Interface IndexValueSerializer<V>
public interface IndexValueSerializer<V>
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize(ByteBuffer buffer) Deserialize a value frombuffer.serialize(V value, ByteBuffer target) Serializevalueintotarget, returnstarget.intserializedSize(V value) voidskip(ByteBuffer buffer) Skips an element, only updating thebuffer'sBuffer.position().
-
Method Details
-
serializedSize
-
serialize
Serializevalueintotarget, returnstarget. -
deserialize
Deserialize a value frombuffer. Implementations must not assume that the givenByteBufferonly contains data for the value to deserialize, other data likely follows. -
skip
Skips an element, only updating thebuffer'sBuffer.position().
-