|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.astyanax.serializers.AbstractSerializer<T>
com.netflix.astyanax.serializers.ReversedSerializer<T>
public class ReversedSerializer<T>
| Constructor Summary | |
|---|---|
ReversedSerializer()
|
|
| Method Summary | ||
|---|---|---|
T |
fromByteBuffer(java.nio.ByteBuffer byteBuffer)
Extract an object of type T from the bytes. |
|
static
|
get()
|
|
ComparatorType |
getComparatorType()
|
|
java.nio.ByteBuffer |
getNext(java.nio.ByteBuffer byteBuffer)
Return the byte buffer for the next value in sorted order for the matching comparator type. |
|
java.nio.ByteBuffer |
toByteBuffer(T obj)
Extract bytes from the obj of type T |
|
| Methods inherited from class com.netflix.astyanax.serializers.AbstractSerializer |
|---|
computeInitialHashSize, fromBytes, fromBytesList, fromBytesMap, fromBytesSet, fromString, getString, toBytes, toBytesList, toBytesList, toBytesList, toBytesMap, toBytesSet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReversedSerializer()
| Method Detail |
|---|
public static <T> ReversedSerializer<T> get()
public java.nio.ByteBuffer toByteBuffer(T obj)
Serializer
toByteBuffer in interface Serializer<T>toByteBuffer in class AbstractSerializer<T>public T fromByteBuffer(java.nio.ByteBuffer byteBuffer)
Serializer
fromByteBuffer in interface Serializer<T>fromByteBuffer in class AbstractSerializer<T>public ComparatorType getComparatorType()
getComparatorType in interface Serializer<T>getComparatorType in class AbstractSerializer<T>public java.nio.ByteBuffer getNext(java.nio.ByteBuffer byteBuffer)
Serializer
getNext in interface Serializer<T>getNext in class AbstractSerializer<T>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||