This project has retired. For details please refer to its
        
        Attic page.
      
org.apache.gora.cassandra.serializers
Class StatefulHashMapSerializer<T>
java.lang.Object
   me.prettyprint.cassandra.serializers.AbstractSerializer<StatefulHashMap<org.apache.avro.util.Utf8,T>>
me.prettyprint.cassandra.serializers.AbstractSerializer<StatefulHashMap<org.apache.avro.util.Utf8,T>>
       org.apache.gora.cassandra.serializers.StatefulHashMapSerializer<T>
org.apache.gora.cassandra.serializers.StatefulHashMapSerializer<T>
- All Implemented Interfaces: 
- me.prettyprint.hector.api.Serializer<StatefulHashMap<org.apache.avro.util.Utf8,T>>
- public class StatefulHashMapSerializer<T> 
- extends me.prettyprint.cassandra.serializers.AbstractSerializer<StatefulHashMap<org.apache.avro.util.Utf8,T>>
A StatefulHashMapSerializer translates the byte[] to and from StatefulHashMap of Avro.
| Field Summary | 
| static org.slf4j.Logger | LOG
 | 
 
 
 
| Methods inherited from class me.prettyprint.cassandra.serializers.AbstractSerializer | 
| computeInitialHashSize, fromBytes, fromBytesList, fromBytesMap, fromBytesSet, toBytes, toBytesList, toBytesMap, toBytesSet | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
LOG
public static final org.slf4j.Logger LOG
StatefulHashMapSerializer
public StatefulHashMapSerializer(me.prettyprint.hector.api.Serializer<T> valueSerializer)
StatefulHashMapSerializer
public StatefulHashMapSerializer(org.apache.avro.Schema valueSchema)
StatefulHashMapSerializer
public StatefulHashMapSerializer(org.apache.avro.Schema.Type valueType)
StatefulHashMapSerializer
public StatefulHashMapSerializer(Class<T> clazz)
get
public static StatefulHashMapSerializer get(org.apache.avro.Schema.Type valueType)
- 
 
get
public static StatefulHashMapSerializer get(org.apache.avro.Schema.Type valueType,
                                            Class clazz)
- 
 
get
public static StatefulHashMapSerializer get(org.apache.avro.Schema valueSchema)
- 
 
toByteBuffer
public ByteBuffer toByteBuffer(StatefulHashMap<org.apache.avro.util.Utf8,T> map)
- 
- Specified by:
- toByteBufferin interface- me.prettyprint.hector.api.Serializer<StatefulHashMap<org.apache.avro.util.Utf8,T>>
- Specified by:
- toByteBufferin class- me.prettyprint.cassandra.serializers.AbstractSerializer<StatefulHashMap<org.apache.avro.util.Utf8,T>>
 
- 
 
fromByteBuffer
public StatefulHashMap<org.apache.avro.util.Utf8,T> fromByteBuffer(ByteBuffer byteBuffer)
- 
- Specified by:
- fromByteBufferin interface- me.prettyprint.hector.api.Serializer<StatefulHashMap<org.apache.avro.util.Utf8,T>>
- Specified by:
- fromByteBufferin class- me.prettyprint.cassandra.serializers.AbstractSerializer<StatefulHashMap<org.apache.avro.util.Utf8,T>>
 
- 
 
getComparatorType
public me.prettyprint.hector.api.ddl.ComparatorType getComparatorType()
- 
- Specified by:
- getComparatorTypein interface- me.prettyprint.hector.api.Serializer<StatefulHashMap<org.apache.avro.util.Utf8,T>>
- Overrides:
- getComparatorTypein class- me.prettyprint.cassandra.serializers.AbstractSerializer<StatefulHashMap<org.apache.avro.util.Utf8,T>>
 
- 
 
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.