Uses of Class
org.apache.datasketches.sampling.VarOptItemsUnion
| 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 VarOptItemsUnion in org.apache.datasketches.sampling
Methods in org.apache.datasketches.sampling that return VarOptItemsUnion Modifier and Type Method Description static <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.