Uses of Class
org.apache.datasketches.sampling.ReservoirItemsUnion
Packages that use ReservoirItemsUnion
Package
Description
This package is dedicated to streaming algorithms that enable fixed size, uniform sampling of
weighted and unweighted items from a stream.
-
Uses of ReservoirItemsUnion in org.apache.datasketches.sampling
Methods in org.apache.datasketches.sampling that return ReservoirItemsUnionModifier and TypeMethodDescriptionstatic <T> ReservoirItemsUnion<T> ReservoirItemsUnion.heapify(MemorySegment srcSeg, ArrayOfItemsSerDe<T> serDe) Instantiates a Union from MemorySegmentstatic <T> ReservoirItemsUnion<T> ReservoirItemsUnion.newInstance(int maxK) Creates an empty Union with a maximum reservoir capacity of size k.