public class MapSerializer<T> extends me.prettyprint.cassandra.serializers.AbstractSerializer<Map<CharSequence,T>>
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
MapSerializer(Class<T> clazz) |
MapSerializer(org.apache.avro.Schema.Type valueType) |
MapSerializer(org.apache.avro.Schema valueSchema) |
MapSerializer(me.prettyprint.hector.api.Serializer<T> valueSerializer) |
Modifier and Type | Method and Description |
---|---|
Map<CharSequence,T> |
fromByteBuffer(ByteBuffer byteBuffer) |
static MapSerializer |
get(org.apache.avro.Schema.Type valueType) |
static MapSerializer |
get(org.apache.avro.Schema.Type valueType,
Class clazz) |
static MapSerializer |
get(org.apache.avro.Schema valueSchema) |
me.prettyprint.hector.api.ddl.ComparatorType |
getComparatorType() |
ByteBuffer |
toByteBuffer(Map<CharSequence,T> map) |
public MapSerializer(me.prettyprint.hector.api.Serializer<T> valueSerializer)
public MapSerializer(org.apache.avro.Schema valueSchema)
public MapSerializer(org.apache.avro.Schema.Type valueType)
public static MapSerializer get(org.apache.avro.Schema.Type valueType)
public static MapSerializer get(org.apache.avro.Schema.Type valueType, Class clazz)
public static MapSerializer get(org.apache.avro.Schema valueSchema)
public ByteBuffer toByteBuffer(Map<CharSequence,T> map)
toByteBuffer
in interface me.prettyprint.hector.api.Serializer<Map<CharSequence,T>>
toByteBuffer
in class me.prettyprint.cassandra.serializers.AbstractSerializer<Map<CharSequence,T>>
public Map<CharSequence,T> fromByteBuffer(ByteBuffer byteBuffer)
fromByteBuffer
in interface me.prettyprint.hector.api.Serializer<Map<CharSequence,T>>
fromByteBuffer
in class me.prettyprint.cassandra.serializers.AbstractSerializer<Map<CharSequence,T>>
public me.prettyprint.hector.api.ddl.ComparatorType getComparatorType()
getComparatorType
in interface me.prettyprint.hector.api.Serializer<Map<CharSequence,T>>
getComparatorType
in class me.prettyprint.cassandra.serializers.AbstractSerializer<Map<CharSequence,T>>
Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.