Class LongStatsAggregator
- java.lang.Object
-
- com.linkedin.alpini.base.statistics.AbstractQuantileEstimation<LongQuantileEstimation.Sample>
-
- com.linkedin.alpini.base.statistics.LongQuantileEstimation
-
- com.linkedin.alpini.base.statistics.LongStatsAggregator
-
- All Implemented Interfaces:
java.util.function.LongConsumer
- Direct Known Subclasses:
LongStatsAggregatorLowQuantile
,LongStatsArrayAggregator
public class LongStatsAggregator extends LongQuantileEstimation
Extend theLongQuantileEstimation
class and add computation for the mean and standard deviation of the supplied values. The statistics are summarised in aLongStats
object and the statistics are reset.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
LongStatsAggregator.LongData
-
Nested classes/interfaces inherited from class com.linkedin.alpini.base.statistics.LongQuantileEstimation
LongQuantileEstimation.Sample
-
Nested classes/interfaces inherited from class com.linkedin.alpini.base.statistics.AbstractQuantileEstimation
AbstractQuantileEstimation.AbstractSample<SAMPLE extends AbstractQuantileEstimation.AbstractSample<SAMPLE>>, AbstractQuantileEstimation.Data, AbstractQuantileEstimation.Quantile, AbstractQuantileEstimation.Quantiles
-
-
Field Summary
-
Fields inherited from class com.linkedin.alpini.base.statistics.AbstractQuantileEstimation
_log
-
-
Constructor Summary
Constructors Constructor Description LongStatsAggregator(double epsilon, int compactSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LongStats
getLongStats()
protected LongStatsAggregator.LongData
newData()
-
Methods inherited from class com.linkedin.alpini.base.statistics.LongQuantileEstimation
accept, compare, computeQuantile, query, query
-
Methods inherited from class com.linkedin.alpini.base.statistics.AbstractQuantileEstimation
accept, cloneSortedSet, collector, computeQuantile, data, floor, getCompactSize, getNumberOfSamples, newSortedSet, queryAndReset, queryAndReset, querySample, reset
-
-
-
-
Method Detail
-
newData
@Nonnull protected LongStatsAggregator.LongData newData()
- Overrides:
newData
in classAbstractQuantileEstimation<LongQuantileEstimation.Sample>
-
getLongStats
public LongStats getLongStats()
-
-