me.prettyprint.cassandra.serializers
Class SerializerTypeInferer
java.lang.Object
me.prettyprint.cassandra.serializers.SerializerTypeInferer
public class SerializerTypeInferer
- extends Object
Utility class that infers the concrete Serializer needed to turn a value into
its binary representation
- Author:
- Bozhidar Bozhanov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializerTypeInferer
public SerializerTypeInferer()
getSerializer
public static <T> Serializer<T> getSerializer(Object value)
getSerializer
public static <T> Serializer<T> getSerializer(Class<?> valueClass)
isSerializable
public static boolean isSerializable(Class<?> clazz)
isImplementedBy
public static boolean isImplementedBy(Class<?> clazz,
Class<?> target)
Copyright © 2013. All Rights Reserved.