org.cassandraunit.serializer
Class GenericTypeSerializer

java.lang.Object
  extended by me.prettyprint.cassandra.serializers.AbstractSerializer<GenericType>
      extended by org.cassandraunit.serializer.GenericTypeSerializer
All Implemented Interfaces:
me.prettyprint.hector.api.Serializer<GenericType>

public class GenericTypeSerializer
extends me.prettyprint.cassandra.serializers.AbstractSerializer<GenericType>

Author:
Jeremy Sevellec

Constructor Summary
GenericTypeSerializer()
           
 
Method Summary
 GenericType fromByteBuffer(ByteBuffer byteBuffer)
           
static GenericTypeSerializer get()
           
 ByteBuffer toByteBuffer(GenericType genericType)
           
 
Methods inherited from class me.prettyprint.cassandra.serializers.AbstractSerializer
computeInitialHashSize, fromBytes, fromBytesList, fromBytesMap, fromBytesSet, getComparatorType, toBytes, toBytesList, toBytesMap, toBytesSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericTypeSerializer

public GenericTypeSerializer()
Method Detail

get

public static GenericTypeSerializer get()

fromByteBuffer

public GenericType fromByteBuffer(ByteBuffer byteBuffer)
Specified by:
fromByteBuffer in interface me.prettyprint.hector.api.Serializer<GenericType>
Specified by:
fromByteBuffer in class me.prettyprint.cassandra.serializers.AbstractSerializer<GenericType>

toByteBuffer

public ByteBuffer toByteBuffer(GenericType genericType)
Specified by:
toByteBuffer in interface me.prettyprint.hector.api.Serializer<GenericType>
Specified by:
toByteBuffer in class me.prettyprint.cassandra.serializers.AbstractSerializer<GenericType>


Copyright © 2012. All Rights Reserved.