org.openspaces.persistency.cassandra.meta.types
Class SerializerProvider
java.lang.Object
org.openspaces.persistency.cassandra.meta.types.SerializerProvider
public class SerializerProvider
- extends Object
A map based Serializer
provider inspired by hector's 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 |
SerializerProvider
public SerializerProvider()
getSerializer
public static <T> getSerializer(Class<?> type)
- Parameters:
type
- The type used to infer the matchin Serializer
- Returns:
- The matching
Serializer
and ObjectSerializer
if no matching serializer is found.
isCommonJavaType
public static boolean isCommonJavaType(Class<?> type)
- Parameters:
type
- The type to test.
- Returns:
true
if this type is serialized using
ObjectSerializer
Copyright © GigaSpaces.