public class SketchHolder extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SketchHolder.Func |
Modifier and Type | Field and Description |
---|---|
static Comparator<Object> |
COMPARATOR |
static SketchHolder |
EMPTY |
Modifier and Type | Method and Description |
---|---|
static Object |
combine(Object o1,
Object o2,
int nomEntries) |
static SketchHolder |
deserialize(Object serializedSketch) |
boolean |
equals(Object o) |
double |
getEstimate() |
SketchEstimateWithErrorBounds |
getEstimateWithErrorBounds(int errorBoundsStdDev) |
com.yahoo.sketches.theta.Sketch |
getSketch() |
static SketchHolder |
of(Object obj) |
static SketchHolder |
sketchSetOperation(SketchHolder.Func func,
int sketchSize,
Object... holders) |
void |
updateUnion(com.yahoo.sketches.theta.Union union) |
public static final SketchHolder EMPTY
public static final Comparator<Object> COMPARATOR
public static SketchHolder of(Object obj)
public void updateUnion(com.yahoo.sketches.theta.Union union)
public com.yahoo.sketches.theta.Sketch getSketch()
public double getEstimate()
public SketchEstimateWithErrorBounds getEstimateWithErrorBounds(int errorBoundsStdDev)
public static SketchHolder deserialize(Object serializedSketch)
public static SketchHolder sketchSetOperation(SketchHolder.Func func, int sketchSize, Object... holders)
Copyright © 2011–2017. All rights reserved.