Uses of Interface
org.apache.datasketches.common.MemorySegmentRequest
Packages that use MemorySegmentRequest
Package
Description
This package is for common classes that may be used across all the sketch families.
This package is for the implementations of the sketch algorithm developed by Zohar Karnin, Kevin Lang,
and Edo Liberty that is commonly referred to as the "KLL" sketch after the authors' last names.
The quantiles package contains stochastic streaming algorithms that enable single-pass
analysis of the distribution of a stream of quantiles.
The theta package contains the basic sketch classes that are members of the
Theta-Sketch Framework.
-
Uses of MemorySegmentRequest in org.apache.datasketches.common
Classes in org.apache.datasketches.common that implement MemorySegmentRequestModifier and TypeClassDescriptionstatic classA convenience class that implements a default implementation.final classThis is an example of a possible implementation of the MemorySegmentRequest interface where all requested segments are allocated off-heap. -
Uses of MemorySegmentRequest in org.apache.datasketches.kll
Methods in org.apache.datasketches.kll with parameters of type MemorySegmentRequestModifier and TypeMethodDescriptionstatic KllDoublesSketchKllDoublesSketch.newDirectInstance(int k, MemorySegment dstSeg, MemorySegmentRequest mSegReq) Create a new direct updatable instance of this sketch with a given k.static KllFloatsSketchKllFloatsSketch.newDirectInstance(int k, MemorySegment dstSeg, MemorySegmentRequest mSegReq) Create a new direct updatable instance of this sketch with a given k.static KllLongsSketchKllLongsSketch.newDirectInstance(int k, MemorySegment dstSeg, MemorySegmentRequest mSegReq) Create a new direct updatable instance of this sketch with a given k.static KllDoublesSketchKllDoublesSketch.wrap(MemorySegment srcSeg, MemorySegmentRequest mSegReq) Wrap a sketch around the given source MemorySegment containing sketch data that originated from this sketch and including an optional, user definedMemorySegmentRequest.static KllFloatsSketchKllFloatsSketch.wrap(MemorySegment srcSeg, MemorySegmentRequest mSegReq) Wrap a sketch around the given source MemorySegment containing sketch data that originated from this sketch and including an optional, user definedMemorySegmentRequest.static KllLongsSketchKllLongsSketch.wrap(MemorySegment srcSeg, MemorySegmentRequest mSegReq) Wrap a sketch around the given source MemorySegment containing sketch data that originated from this sketch and including an optional, user definedMemorySegmentRequest. -
Uses of MemorySegmentRequest in org.apache.datasketches.quantiles
Methods in org.apache.datasketches.quantiles with parameters of type MemorySegmentRequestModifier and TypeMethodDescriptionQuantilesDoublesSketchBuilder.build(MemorySegment dstSeg, MemorySegmentRequest mSegReq) Returns a UpdatableQuantilesDoublesSketch with the current configuration of this builder and the specified backing destination MemorySegment store that can grow.QuantilesDoublesUnionBuilder.build(MemorySegment dstSeg, MemorySegmentRequest mSegReq) Returns a new empty Union object with the current configuration of this Builder and the specified backing destination MemorySegment store.QuantilesDoublesSketch.downSample(QuantilesDoublesSketch srcSketch, int smallerK, MemorySegment dstSeg, MemorySegmentRequest mSegReq) From an source sketch, create a new sketch that must have a smaller K.abstract UpdatableQuantilesDoublesSketchQuantilesDoublesUnion.getResult(MemorySegment dstSeg, MemorySegmentRequest mSegReq) Places the result of this Union into the provided MemorySegment as an UpdatableQuantilesDoublesSketch, which enables further update operations on the resulting sketch.static QuantilesDoublesUnionQuantilesDoublesUnion.wrap(MemorySegment srcSeg, MemorySegmentRequest mSegReq) Returns an updatable Union object that wraps the given MemorySegment that contains an image of a QuantilesDoublesSketch.UpdatableQuantilesDoublesSketch.wrap(MemorySegment srcSeg, MemorySegmentRequest mSegReq) Wrap a sketch around the given source MemorySegment containing sketch data that originated from this sketch and including an optional, user definedMemorySegmentRequest.static QuantilesDoublesSketchQuantilesDoublesSketch.writableWrap(MemorySegment srcSeg, MemorySegmentRequest mSegReq) Wrap this sketch around the given MemorySegment image of an updatable QuantilesDoublesSketch. -
Uses of MemorySegmentRequest in org.apache.datasketches.theta
Methods in org.apache.datasketches.theta that return MemorySegmentRequestModifier and TypeMethodDescriptionUpdatableThetaSketchBuilder.getMemorySegmentRequest()Returns the local MemorySegmentRequestMethods in org.apache.datasketches.theta with parameters of type MemorySegmentRequestModifier and TypeMethodDescriptionUpdatableThetaSketchBuilder.setMemorySegmentRequest(MemorySegmentRequest mSegReq) Sets the local MemorySegmentRequeststatic UpdatableThetaSketchUpdatableThetaSketch.wrap(MemorySegment srcWSeg, MemorySegmentRequest mSegReq, long expectedSeed) Wrap takes the sketch image in MemorySegment and refers to it directly.