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