# Uses of Class
org.apache.datasketches.theta.UpdatableThetaSketch

Packages that use UpdatableThetaSketch
Package
Description
org.apache.datasketches.theta
The theta package contains the basic sketch classes that are members of the Theta-Sketch Framework.

## Uses of UpdatableThetaSketch in org.apache.datasketches.theta

Methods in org.apache.datasketches.theta that return UpdatableThetaSketch
Modifier and Type
Method
Description
`UpdatableThetaSketch`
UpdatableThetaSketchBuilder.`build()`
Returns an UpdatableThetaSketch with the current configuration of this Builder.
`UpdatableThetaSketch`
UpdatableThetaSketchBuilder.`build(MemorySegment dstSeg)`
Returns an UpdatableThetaSketch with the current configuration of this Builder with the specified backing destination MemorySegment store.
`UpdatableThetaSketch`
UpdatableThetaSketchBuilder.`buildLocal(UpdatableThetaSketch shared)`
Returns a local, on-heap, concurrent UpdatableThetaSketch to be used as a per-thread local buffer along with the given concurrent shared UpdatableThetaSketch and the current configuration of this Builder.
`UpdatableThetaSketch`
UpdatableThetaSketchBuilder.`buildShared()`
Returns an on-heap concurrent shared UpdatableThetaSketch with the current configuration of the Builder.
`UpdatableThetaSketch`
UpdatableThetaSketchBuilder.`buildShared(MemorySegment dstSeg)`
Returns a concurrent shared UpdatableThetaSketch with the current configuration of the Builder and the given destination MemorySegment.
`UpdatableThetaSketch`
UpdatableThetaSketchBuilder.`buildSharedFromSketch(UpdatableThetaSketch sketch, MemorySegment dstSeg)`
Returns a direct (potentially off-heap) concurrent shared UpdatableThetaSketch with the current configuration of the Builder, the data from the given sketch, and the given destination MemorySegment.
`static UpdatableThetaSketch`
UpdatableThetaSketch.`heapify(MemorySegment srcSeg)`
Instantiates an on-heap UpdatableThetaSketch from a MemorySegment.
`static UpdatableThetaSketch`
UpdatableThetaSketch.`heapify(MemorySegment srcSeg, long expectedSeed)`
Instantiates an on-heap UpdatableThetaSketch from a MemorySegment.
`abstract UpdatableThetaSketch`
UpdatableThetaSketch.`rebuild()`
Rebuilds the hash table to remove dirty values or to reduce the size to nominal entries.
`static UpdatableThetaSketch`
UpdatableThetaSketch.`wrap(MemorySegment srcWSeg)`
Wrap takes the writable sketch image in MemorySegment and refers to it directly.
`static UpdatableThetaSketch`
UpdatableThetaSketch.`wrap(MemorySegment srcWSeg, MemorySegmentRequest mSegReq, long expectedSeed)`
Wrap takes the sketch image in MemorySegment and refers to it directly.
Methods in org.apache.datasketches.theta with parameters of type UpdatableThetaSketch
Modifier and Type
Method
Description
`UpdatableThetaSketch`
UpdatableThetaSketchBuilder.`buildLocal(UpdatableThetaSketch shared)`
Returns a local, on-heap, concurrent UpdatableThetaSketch to be used as a per-thread local buffer along with the given concurrent shared UpdatableThetaSketch and the current configuration of this Builder.
`UpdatableThetaSketch`
UpdatableThetaSketchBuilder.`buildSharedFromSketch(UpdatableThetaSketch sketch, MemorySegment dstSeg)`
Returns a direct (potentially off-heap) concurrent shared UpdatableThetaSketch with the current configuration of the Builder, the data from the given sketch, and the given destination MemorySegment.