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 interface
Histogram.Statistics
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
count()
Return the number of observations.Histogram.Statistics
statistics()
Calculate the statistics of the observed values.void
update(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.
-
-