public class SketchObjectStrategy extends Object implements ObjectStrategy
| Constructor and Description |
|---|
SketchObjectStrategy() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object s1,
Object s2) |
Object |
fromByteBuffer(ByteBuffer buffer,
int numBytes)
Convert values from their underlying byte representation.
|
Class<?> |
getClazz() |
byte[] |
toBytes(Object obj) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(Object s1, Object s2)
compare in interface Comparatorpublic Class<?> getClazz()
getClazz in interface ObjectStrategypublic Object fromByteBuffer(ByteBuffer buffer, int numBytes)
ObjectStrategyfromByteBuffer in interface ObjectStrategybuffer - buffer to read value fromnumBytes - number of bytes used to store the value, starting at buffer.position()public byte[] toBytes(Object obj)
toBytes in interface ObjectStrategyCopyright © 2011–2017. All rights reserved.