public abstract class AbstractTDigest extends TDigest
| Constructor and Description |
|---|
AbstractTDigest() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(double x)
Adds a sample to a histogram.
|
void |
add(TDigest other)
Add all of the centroids of another TDigest to this one.
|
protected Centroid |
createCentroid(double mean,
int id) |
boolean |
isRecording() |
TDigest |
recordAllData()
Sets up so that all centroids will record all data assigned to them.
|
add, add, asBytes, asSmallBytes, byteSize, cdf, centroidCount, centroids, compress, compression, createAvlTreeDigest, createDigest, createMergingDigest, getMax, getMin, quantile, setScaleFunction, size, smallByteSizepublic TDigest recordAllData()
recordAllData in class TDigestpublic boolean isRecording()
isRecording in class TDigestpublic void add(double x)
public void add(TDigest other)
TDigestprotected Centroid createCentroid(double mean, int id)
Copyright © 2021. All rights reserved.