Uses of Class
org.apache.datasketches.theta.UpdateSketch
Package
Description
The theta package contains the basic sketch classes that are members of the
Theta Sketch Framework.
-
Uses of UpdateSketch in org.apache.datasketches.theta
Modifier and TypeMethodDescriptionUpdateSketchBuilder.build()
Returns an UpdateSketch with the current configuration of this Builder.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.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.UpdateSketchBuilder.buildShared()
Returns an on-heap concurrent shared UpdateSketch with the current configuration of the Builder.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.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 expectedSeed) 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 expectedSeed) 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 expectedSeed) 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 expectedSeed) Modifier and TypeMethodDescriptionUpdateSketchBuilder.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.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.