# Uses of Class
org.apache.datasketches.sampling.SampleSubsetSummary

Packages that use SampleSubsetSummary
Package
Description
org.apache.datasketches.sampling
This package is dedicated to streaming algorithms that enable fixed size, uniform sampling of weighted and 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
`SampleSubsetSummary`
ReservoirItemsSketch.`estimateSubsetSum(Predicate<T> predicate)`
Computes an estimated subset sum from the entire stream for objects matching a given predicate.
`SampleSubsetSummary`
ReservoirLongsSketch.`estimateSubsetSum(Predicate<Long> predicate)`
Computes an estimated subset sum from the entire stream for objects matching a given predicate.
`SampleSubsetSummary`
VarOptItemsSketch.`estimateSubsetSum(Predicate<T> predicate)`
Computes an estimated subset sum from the entire stream for objects matching a given predicate.