public class CustomTypeInferringSerializer<T>
extends me.prettyprint.cassandra.serializers.AbstractSerializer<T>
implements me.prettyprint.hector.api.Serializer<T>
SerializerProvider
instead of hectors SerializerTypeInferer
.Constructor and Description |
---|
CustomTypeInferringSerializer() |
Modifier and Type | Method and Description |
---|---|
T |
fromByteBuffer(ByteBuffer byteBuffer) |
static <T> CustomTypeInferringSerializer<T> |
get() |
ByteBuffer |
toByteBuffer(T obj) |
computeInitialHashSize, fromBytes, fromBytesList, fromBytesMap, fromBytesSet, getComparatorType, toBytes, toBytesList, toBytesMap, toBytesSet
public static <T> CustomTypeInferringSerializer<T> get()
public ByteBuffer toByteBuffer(T obj)
public T fromByteBuffer(ByteBuffer byteBuffer)
Copyright © GigaSpaces.