Uses of Class
org.apache.datasketches.theta.UpdateSketch
Packages that use 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
Methods in org.apache.datasketches.theta that return UpdateSketchModifier 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 UpdateSketchUpdateSketch.heapify(org.apache.datasketches.memory.Memory srcMem) Instantiates an on-heap UpdateSketch from Memory.static UpdateSketchUpdateSketch.heapify(org.apache.datasketches.memory.Memory srcMem, long expectedSeed) Instantiates an on-heap UpdateSketch from Memory.static UpdateSketchSketches.heapifyUpdateSketch(org.apache.datasketches.memory.Memory srcMem) static UpdateSketchSketches.heapifyUpdateSketch(org.apache.datasketches.memory.Memory srcMem, long expectedSeed) abstract UpdateSketchUpdateSketch.rebuild()Rebuilds the hash table to remove dirty values or to reduce the size to nominal entries.static UpdateSketchUpdateSketch.wrap(org.apache.datasketches.memory.WritableMemory srcMem) Wrap takes the sketch image in Memory and refers to it directly.static UpdateSketchUpdateSketch.wrap(org.apache.datasketches.memory.WritableMemory srcMem, long expectedSeed) Wrap takes the sketch image in Memory and refers to it directly.static UpdateSketchSketches.wrapUpdateSketch(org.apache.datasketches.memory.WritableMemory srcMem) static UpdateSketchSketches.wrapUpdateSketch(org.apache.datasketches.memory.WritableMemory srcMem, long expectedSeed) Methods in org.apache.datasketches.theta with parameters of type UpdateSketchModifier 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.