Uses of Class
org.apache.datasketches.sampling.SampleSubsetSummary
| Package | Description |
|---|---|
| org.apache.datasketches.sampling |
This package is dedicated to streaming algorithms that enable fixed size, uniform sampling of
unweighted items from a stream.
|
-
Uses of SampleSubsetSummary in org.apache.datasketches.sampling
Methods in org.apache.datasketches.sampling that return SampleSubsetSummary Modifier and Type Method Description SampleSubsetSummaryReservoirItemsSketch. estimateSubsetSum(Predicate<T> predicate)Computes an estimated subset sum from the entire stream for objects matching a given predicate.SampleSubsetSummaryReservoirLongsSketch. estimateSubsetSum(Predicate<Long> predicate)Computes an estimated subset sum from the entire stream for objects matching a given predicate.SampleSubsetSummaryVarOptItemsSketch. estimateSubsetSum(Predicate<T> predicate)Computes an estimated subset sum from the entire stream for objects matching a given predicate.