Package | Description |
---|---|
org.apache.datasketches.theta |
The theta package contains all the sketch classes that are members of the
Theta Sketch Framework.
|
Modifier and Type | Method and Description |
---|---|
UpdateSketch |
UpdateSketchBuilder.build()
Returns an UpdateSketch with the current configuration of this Builder.
|
UpdateSketch |
UpdateSketchBuilder.build(org.apache.datasketches.memory.WritableMemory dstMem)
Returns an UpdateSketch with the current configuration of this Builder
with the specified backing destination Memory store.
|
UpdateSketch |
UpdateSketchBuilder.buildLocal(UpdateSketch shared)
Returns a local, on-heap, concurrent UpdateSketch to be used as a per-thread local buffer
along with the given concurrent shared UpdateSketch and the current configuration of this
Builder.
|
UpdateSketch |
UpdateSketchBuilder.buildShared()
Returns an on-heap concurrent shared UpdateSketch with the current configuration of the
Builder.
|
UpdateSketch |
UpdateSketchBuilder.buildShared(org.apache.datasketches.memory.WritableMemory dstMem)
Returns a direct (potentially off-heap) concurrent shared UpdateSketch with the current
configuration of the Builder and the given destination WritableMemory.
|
UpdateSketch |
UpdateSketchBuilder.buildSharedFromSketch(UpdateSketch sketch,
org.apache.datasketches.memory.WritableMemory dstMem)
Returns a direct (potentially off-heap) concurrent shared UpdateSketch with the current
configuration of the Builder, the data from the given sketch, and the given destination
WritableMemory.
|
static UpdateSketch |
UpdateSketch.heapify(org.apache.datasketches.memory.Memory srcMem)
Instantiates an on-heap UpdateSketch from Memory.
|
static UpdateSketch |
UpdateSketch.heapify(org.apache.datasketches.memory.Memory srcMem,
long seed)
Instantiates an on-heap UpdateSketch from Memory.
|
static UpdateSketch |
Sketches.heapifyUpdateSketch(org.apache.datasketches.memory.Memory srcMem)
|
static UpdateSketch |
Sketches.heapifyUpdateSketch(org.apache.datasketches.memory.Memory srcMem,
long seed)
|
abstract UpdateSketch |
UpdateSketch.rebuild()
Rebuilds the hash table to remove dirty values or to reduce the size
to nominal entries.
|
static UpdateSketch |
UpdateSketch.wrap(org.apache.datasketches.memory.WritableMemory srcMem)
Wrap takes the sketch image in Memory and refers to it directly.
|
static UpdateSketch |
UpdateSketch.wrap(org.apache.datasketches.memory.WritableMemory srcMem,
long seed)
Wrap takes the sketch image in Memory and refers to it directly.
|
static UpdateSketch |
Sketches.wrapUpdateSketch(org.apache.datasketches.memory.WritableMemory srcMem)
|
static UpdateSketch |
Sketches.wrapUpdateSketch(org.apache.datasketches.memory.WritableMemory srcMem,
long seed)
|
Modifier and Type | Method and Description |
---|---|
UpdateSketch |
UpdateSketchBuilder.buildLocal(UpdateSketch shared)
Returns a local, on-heap, concurrent UpdateSketch to be used as a per-thread local buffer
along with the given concurrent shared UpdateSketch and the current configuration of this
Builder.
|
UpdateSketch |
UpdateSketchBuilder.buildSharedFromSketch(UpdateSketch sketch,
org.apache.datasketches.memory.WritableMemory dstMem)
Returns a direct (potentially off-heap) concurrent shared UpdateSketch with the current
configuration of the Builder, the data from the given sketch, and the given destination
WritableMemory.
|
Copyright © 2015–2021 The Apache Software Foundation. All rights reserved.