Uses of Class
org.apache.datasketches.sampling.ReservoirLongsUnion
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 ReservoirLongsUnion in org.apache.datasketches.sampling
Modifier and TypeMethodDescriptionstatic ReservoirLongsUnion
ReservoirLongsUnion.heapify
(org.apache.datasketches.memory.Memory srcMem) Instantiates a Union from Memorystatic ReservoirLongsUnion
ReservoirLongsUnion.newInstance
(int maxK) Creates an empty Union with a maximum reservoir capacity of size k.