public class

CompositeSerializer

extends AbstractSerializer<T>
java.lang.Object
   ↳ com.netflix.astyanax.serializers.AbstractSerializer<T>
     ↳ com.netflix.astyanax.serializers.CompositeSerializer
Known Direct Subclasses

Summary

Public Constructors
CompositeSerializer()
Public Methods
Composite fromByteBuffer(ByteBuffer byteBuffer)
Extract an object of type T from the bytes.
static CompositeSerializer get()
ComparatorType getComparatorType()
ByteBuffer getNext(ByteBuffer byteBuffer)
Return the byte buffer for the next value in sorted order for the matching comparator type.
ByteBuffer toByteBuffer(Composite obj)
Extract bytes from the obj of type T
[Expand]
Inherited Methods
From class com.netflix.astyanax.serializers.AbstractSerializer
From class java.lang.Object
From interface com.netflix.astyanax.Serializer

Public Constructors

public CompositeSerializer ()

Public Methods

public Composite fromByteBuffer (ByteBuffer byteBuffer)

Extract an object of type T from the bytes.

public static CompositeSerializer get ()

public ComparatorType getComparatorType ()

public ByteBuffer getNext (ByteBuffer byteBuffer)

Return the byte buffer for the next value in sorted order for the matching comparator type. This is used for paginating columns.

public ByteBuffer toByteBuffer (Composite obj)

Extract bytes from the obj of type T