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