Package | Description |
---|---|
org.apache.datasketches.sampling |
This package is dedicated to streaming algorithms that enable fixed size, uniform sampling of
weighted and unweighted items from a stream.
|
Modifier and Type | Method and Description |
---|---|
static ReservoirLongsUnion |
ReservoirLongsUnion.heapify(org.apache.datasketches.memory.Memory srcMem)
Instantiates a Union from Memory
|
static ReservoirLongsUnion |
ReservoirLongsUnion.newInstance(int maxK)
Creates an empty Union with a maximum reservoir capacity of size k.
|
Copyright © 2015–2024 The Apache Software Foundation. All rights reserved.