GigaSpaces XAP 9.1 API

org.openspaces.persistency.cassandra.meta.types
Class ByteSerializer

java.lang.Object
  extended by me.prettyprint.cassandra.serializers.AbstractSerializer<Byte>
      extended by org.openspaces.persistency.cassandra.meta.types.ByteSerializer
All Implemented Interfaces:
me.prettyprint.hector.api.Serializer<Byte>

public class ByteSerializer
extends me.prettyprint.cassandra.serializers.AbstractSerializer<Byte>
implements me.prettyprint.hector.api.Serializer<Byte>

A Serializer implementation for Byte values.

Since:
9.1.1
Author:
Dan Kilman

Constructor Summary
ByteSerializer()
           
 
Method Summary
 Byte fromByteBuffer(ByteBuffer byteBuffer)
           
static me.prettyprint.hector.api.Serializer<Byte> get()
           
 ByteBuffer toByteBuffer(Byte obj)
           
 
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
 
Methods inherited from interface me.prettyprint.hector.api.Serializer
fromBytes, fromBytesList, fromBytesMap, fromBytesSet, getComparatorType, toBytes, toBytesList, toBytesMap, toBytesSet
 

Constructor Detail

ByteSerializer

public ByteSerializer()
Method Detail

get

public static me.prettyprint.hector.api.Serializer<Byte> get()

toByteBuffer

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

fromByteBuffer

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

GigaSpaces XAP 9.1 API

Copyright © GigaSpaces.