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

    Modifier and Type
    Method
    Description
    UpdateSketchBuilder.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.
    UpdateSketch.heapify(org.apache.datasketches.memory.Memory srcMem)
    Instantiates an on-heap UpdateSketch from Memory.
    UpdateSketch.heapify(org.apache.datasketches.memory.Memory srcMem, long expectedSeed)
    Instantiates an on-heap UpdateSketch from Memory.
    Sketches.heapifyUpdateSketch(org.apache.datasketches.memory.Memory srcMem)
    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.
    UpdateSketch.wrap(org.apache.datasketches.memory.WritableMemory srcMem)
    Wrap takes the sketch image in Memory and refers to it directly.
    UpdateSketch.wrap(org.apache.datasketches.memory.WritableMemory srcMem, long expectedSeed)
    Wrap takes the sketch image in Memory and refers to it directly.
    Sketches.wrapUpdateSketch(org.apache.datasketches.memory.WritableMemory srcMem)
    Sketches.wrapUpdateSketch(org.apache.datasketches.memory.WritableMemory srcMem, long expectedSeed)
    Methods in org.apache.datasketches.theta with parameters of type UpdateSketch
    Modifier and Type
    Method
    Description
    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.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.