S - type of Summarypublic class CompactSketch<S extends Summary> extends Sketch<S>
PREAMBLE_LONGS| Modifier and Type | Method and Description |
|---|---|
int |
getRetainedEntries() |
S[] |
getSummaries() |
byte[] |
toByteArray()
This is to serialize an instance to a byte array.
|
getEstimate, getLowerBound, getTheta, getUpperBound, isEmpty, isEstimationMode, iteratorpublic S[] getSummaries()
getSummaries in class Sketch<S extends Summary>public int getRetainedEntries()
getRetainedEntries in class Sketch<S extends Summary>public byte[] toByteArray()
SketchtoByteArray in class Sketch<S extends Summary>Copyright © 2015–2017 Yahoo! Inc.. All rights reserved.