java.io.Serializable
public class TDigestState
extends com.tdunning.math.stats.AVLTreeDigest
TDigest
with custom serialization.Constructor | Description |
---|---|
TDigestState(double compression) |
Modifier and Type | Method | Description |
---|---|---|
double |
compression() |
|
boolean |
equals(java.lang.Object obj) |
|
int |
hashCode() |
|
static TDigestState |
read(StreamInput in) |
|
static void |
write(TDigestState state,
StreamOutput out) |
add, add, createCentroid, isRecording
add, add, add, asBytes, asSmallBytes, byteSize, cdf, centroidCount, centroids, compress, fromBytes, quantile, recordAllData, size, smallByteSize
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
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object