# Uses of Class
org.apache.datasketches.quantiles.QuantilesDoublesSketch

Packages that use QuantilesDoublesSketch
Package
Description
org.apache.datasketches.quantiles
The quantiles package contains stochastic streaming algorithms that enable single-pass analysis of the distribution of a stream of quantiles.

## Uses of QuantilesDoublesSketch in org.apache.datasketches.quantiles

Subclasses of QuantilesDoublesSketch in org.apache.datasketches.quantiles
Modifier and Type
Class
Description
`class`
`CompactQuantilesDoublesSketch`
Compact sketches are inherently read only.
`class`
`UpdatableQuantilesDoublesSketch`
Extends QuantilesDoubleSketch
Methods in org.apache.datasketches.quantiles that return QuantilesDoublesSketch
Modifier and Type
Method
Description
`QuantilesDoublesSketch`
QuantilesDoublesSketch.`downSample(QuantilesDoublesSketch srcSketch, int smallerK, MemorySegment dstSeg, MemorySegmentRequest mSegReq)`
From an source sketch, create a new sketch that must have a smaller K.
`static QuantilesDoublesSketch`
QuantilesDoublesSketch.`heapify(MemorySegment srcSeg)`
Heapify takes the sketch image in MemorySegment and instantiates an on-heap Sketch.
`static QuantilesDoublesSketch`
QuantilesDoublesSketch.`wrap(MemorySegment srcSeg)`
Wrap this sketch around the given MemorySegment image of a compact, read-only QuantilesDoublesSketch.
`static QuantilesDoublesSketch`
QuantilesDoublesSketch.`writableWrap(MemorySegment srcSeg)`
Wrap this sketch around the given MemorySegment image of an updatable QuantilesDoublesSketch.
`static QuantilesDoublesSketch`
QuantilesDoublesSketch.`writableWrap(MemorySegment srcSeg, MemorySegmentRequest mSegReq)`
Wrap this sketch around the given MemorySegment image of an updatable QuantilesDoublesSketch.
Methods in org.apache.datasketches.quantiles with parameters of type QuantilesDoublesSketch
Modifier and Type
Method
Description
`QuantilesDoublesSketch`
QuantilesDoublesSketch.`downSample(QuantilesDoublesSketch srcSketch, int smallerK, MemorySegment dstSeg, MemorySegmentRequest mSegReq)`
From an source sketch, create a new sketch that must have a smaller K.
`static QuantilesDoublesUnion`
QuantilesDoublesUnion.`heapify(QuantilesDoublesSketch sketch)`
Returns a Heap Union object that has been initialized with the data from the given sketch.
`abstract void`
QuantilesDoublesUnion.`union(QuantilesDoublesSketch sketchIn)`
Iterative union operation, which means this method can be repeatedly called.