Package org.apache.iceberg.metrics
Interface Histogram
-
- All Known Implementing Classes:
FixedReservoirHistogram
public interface Histogram
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceHistogram.Statistics
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcount()Return the number of observations.Histogram.Statisticsstatistics()Calculate the statistics of the observed values.voidupdate(long value)Update the histogram with a new value observed.
-
-
-
Method Detail
-
update
void update(long value)
Update the histogram with a new value observed.
-
count
int count()
Return the number of observations.
-
statistics
Histogram.Statistics statistics()
Calculate the statistics of the observed values.
-
-