public class

AnnotatedCompositeSerializer

extends AbstractSerializer<T>
java.lang.Object
   ↳ com.netflix.astyanax.serializers.AbstractSerializer<T>
     ↳ com.netflix.astyanax.serializers.AnnotatedCompositeSerializer<T>

Class Overview

Serializer for a Pojo annotated with Component field annotations Serialized data is formatted as a list of components with each component having the format: <2 byte length><0>

Summary

Nested Classes
class AnnotatedCompositeSerializer.ComponentSerializer<P> Serializer for a single component within the Pojo 
Public Constructors
AnnotatedCompositeSerializer(Class<T> clazz)
Public Methods
CompositeRangeBuilder buildRange()
T fromByteBuffer(ByteBuffer byteBuffer)
Extract an object of type T from the bytes.
ComparatorType getComparatorType()
<T1> RangeEndpoint makeEndpoint(T1 value, Equality equality)
ByteBuffer toByteBuffer(T 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 AnnotatedCompositeSerializer (Class<T> clazz)

Public Methods

public CompositeRangeBuilder buildRange ()

public T fromByteBuffer (ByteBuffer byteBuffer)

Extract an object of type T from the bytes.

public ComparatorType getComparatorType ()

public RangeEndpoint makeEndpoint (T1 value, Equality equality)

public ByteBuffer toByteBuffer (T obj)

Extract bytes from the obj of type T