org.openspaces.persistency.cassandra.meta.types
Class CustomTypeInferringSerializer<T>
java.lang.Object
org.openspaces.persistency.cassandra.meta.types.CustomTypeInferringSerializer<T>
public class CustomTypeInferringSerializer<T>
- extends
Variation on hector's type inferring serializer to also include support for big decimal type,
float type and double type, to avoid possible NullPointerException and to use the map based
SerializerProvider
instead of hectors SerializerTypeInferer
.
- Since:
- 9.1.1
- Author:
- Dan Kilman
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomTypeInferringSerializer
public CustomTypeInferringSerializer()
get
public static <T> CustomTypeInferringSerializer<T> get()
toByteBuffer
public ByteBuffer toByteBuffer(T obj)
fromByteBuffer
public T fromByteBuffer(ByteBuffer byteBuffer)
Copyright © GigaSpaces.