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.
|
Modifier and Type | Method and Description |
---|---|
static <T> VarOptItemsUnion<T> |
VarOptItemsUnion.heapify(org.apache.datasketches.memory.Memory srcMem,
ArrayOfItemsSerDe<T> serDe)
Instantiates a Union from Memory
|
static <T> VarOptItemsUnion<T> |
VarOptItemsUnion.newInstance(int maxK)
Creates an empty Union with a maximum capacity of size k.
|
Copyright © 2015–2021 The Apache Software Foundation. All rights reserved.