public class CompositeSerializer extends AbstractSerializer<Composite>
| Constructor and Description |
|---|
CompositeSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Composite |
fromByteBuffer(ByteBuffer byteBuffer)
Extract an object of type T from the bytes.
|
static CompositeSerializer |
get() |
ComparatorType |
getComparatorType() |
ByteBuffer |
toByteBuffer(Composite obj)
Extract bytes from the obj of type T
|
computeInitialHashSize, fromBytes, fromBytesList, fromBytesMap, fromBytesSet, toBytes, toBytesList, toBytesMap, toBytesSetpublic static CompositeSerializer get()
public ByteBuffer toByteBuffer(Composite obj)
SerializertoByteBuffer in interface Serializer<Composite>toByteBuffer in class AbstractSerializer<Composite>public Composite fromByteBuffer(ByteBuffer byteBuffer)
SerializerfromByteBuffer in interface Serializer<Composite>fromByteBuffer in class AbstractSerializer<Composite>public ComparatorType getComparatorType()
getComparatorType in interface Serializer<Composite>getComparatorType in class AbstractSerializer<Composite>Copyright © 2014. All Rights Reserved.