Class TDigestState
com.tdunning.math.stats.TDigest
com.tdunning.math.stats.AbstractTDigest
com.tdunning.math.stats.AVLTreeDigest
org.elasticsearch.search.aggregations.metrics.TDigestState
- All Implemented Interfaces:
public class TDigestState
extends com.tdunning.math.stats.AVLTreeDigest
Extension of
TDigest
with custom serialization.- See Also:
- Serialized Form
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
boolean
obj)
int
hashCode()
static TDigestState
read(StreamInput in)
static void
write(TDigestState state, StreamOutput out)
Methods inherited from class com.tdunning.math.stats.AVLTreeDigest
add, add, add, asBytes, asSmallBytes, byteSize, cdf, centroidCount, centroids, compress, fromBytes, quantile, recordAllData, size, smallByteSize
Methods inherited from class com.tdunning.math.stats.AbstractTDigest
add, add, createCentroid, isRecording
Methods inherited from class com.tdunning.math.stats.TDigest
createAvlTreeDigest, createDigest, createMergingDigest, getMax, getMin
Methods inherited from class java.lang.
, , , , , , , ,
-
Constructor Details
-
TDigestState
public TDigestState(double compression)
-
-
Method Details
-
compression
public double compression()- Overrides:
compression
in classcom.tdunning.math.stats.AVLTreeDigest
-
write
- Throws:
-
read
- Throws:
-
equals
public boolean equals( obj)- Overrides:
in class
-
hashCode
public int hashCode()- Overrides:
in class
-