me.prettyprint.cassandra.serializers
Class DynamicCompositeSerializer
java.lang.Object
me.prettyprint.cassandra.serializers.AbstractSerializer<DynamicComposite>
me.prettyprint.cassandra.serializers.DynamicCompositeSerializer
- All Implemented Interfaces:
- Serializer<DynamicComposite>
public class DynamicCompositeSerializer
- extends AbstractSerializer<DynamicComposite>
- Author:
- Todd Nine
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DynamicCompositeSerializer
public DynamicCompositeSerializer()
get
public static DynamicCompositeSerializer get()
toByteBuffer
public ByteBuffer toByteBuffer(DynamicComposite obj)
- Description copied from interface:
Serializer
- Extract bytes from the obj of type T
- Specified by:
toByteBuffer
in interface Serializer<DynamicComposite>
- Specified by:
toByteBuffer
in class AbstractSerializer<DynamicComposite>
- Returns:
fromByteBuffer
public DynamicComposite fromByteBuffer(ByteBuffer byteBuffer)
- Description copied from interface:
Serializer
- Extract an object of type T from the bytes.
- Specified by:
fromByteBuffer
in interface Serializer<DynamicComposite>
- Specified by:
fromByteBuffer
in class AbstractSerializer<DynamicComposite>
- Returns:
getComparatorType
public ComparatorType getComparatorType()
- Specified by:
getComparatorType
in interface Serializer<DynamicComposite>
- Overrides:
getComparatorType
in class AbstractSerializer<DynamicComposite>
Copyright © 2011. All Rights Reserved.