public class TDigestState
extends com.tdunning.math.stats.AVLTreeDigest
TDigest
with custom serialization.Constructor and Description |
---|
TDigestState(double compression) |
Modifier and Type | Method and Description |
---|---|
double |
compression() |
static TDigestState |
read(StreamInput in) |
static void |
write(TDigestState state,
StreamOutput out) |
add, add, asBytes, asSmallBytes, byteSize, cdf, centroidCount, centroids, compress, compress, fromBytes, quantile, recordAllData, size, smallByteSize
add, add, createCentroid, decode, encode, interpolate, isRecording, merge
public double compression()
compression
in class com.tdunning.math.stats.AVLTreeDigest
public static void write(TDigestState state, StreamOutput out) throws java.io.IOException
java.io.IOException
public static TDigestState read(StreamInput in) throws java.io.IOException
java.io.IOException