public class DoublesSketchObjectStrategy extends Object implements ObjectStrategy<com.yahoo.sketches.quantiles.DoublesSketch>
| Constructor and Description | 
|---|
DoublesSketchObjectStrategy()  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
compare(com.yahoo.sketches.quantiles.DoublesSketch s1,
       com.yahoo.sketches.quantiles.DoublesSketch s2)  | 
com.yahoo.sketches.quantiles.DoublesSketch | 
fromByteBuffer(ByteBuffer buffer,
              int numBytes)
Convert values from their underlying byte representation. 
 | 
Class<? extends com.yahoo.sketches.quantiles.DoublesSketch> | 
getClazz()  | 
byte[] | 
toBytes(com.yahoo.sketches.quantiles.DoublesSketch sketch)  | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromByteBufferWithSize, writeTocomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(com.yahoo.sketches.quantiles.DoublesSketch s1,
                   com.yahoo.sketches.quantiles.DoublesSketch s2)
compare in interface Comparator<com.yahoo.sketches.quantiles.DoublesSketch>public com.yahoo.sketches.quantiles.DoublesSketch fromByteBuffer(ByteBuffer buffer, int numBytes)
ObjectStrategyByteBuffer.slice(), ByteBuffer.asReadOnlyBuffer() or ByteBuffer.duplicate() in
 this case.fromByteBuffer in interface ObjectStrategy<com.yahoo.sketches.quantiles.DoublesSketch>buffer - buffer to read value fromnumBytes - number of bytes used to store the value, starting at buffer.position()public Class<? extends com.yahoo.sketches.quantiles.DoublesSketch> getClazz()
getClazz in interface ObjectStrategy<com.yahoo.sketches.quantiles.DoublesSketch>public byte[] toBytes(com.yahoo.sketches.quantiles.DoublesSketch sketch)
toBytes in interface ObjectStrategy<com.yahoo.sketches.quantiles.DoublesSketch>Copyright © 2011–2018. All rights reserved.