Uses of Class
org.apache.datasketches.kll.KllDoublesSketch
Packages that use KllDoublesSketch
Package
Description
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.
-
Uses of KllDoublesSketch in org.apache.datasketches.kll
Methods in org.apache.datasketches.kll that return KllDoublesSketchModifier and TypeMethodDescriptionstatic KllDoublesSketchKllDoublesSketch.heapify(MemorySegment srcSeg) Factory heapify takes a compact sketch image in MemorySegment and instantiates an on-heap sketch.static KllDoublesSketchKllDoublesSketch.newDirectInstance(int k, MemorySegment dstSeg, MemorySegmentRequest mSegReq) Create a new direct updatable instance of this sketch with a given k.static KllDoublesSketchKllDoublesSketch.newDirectInstance(MemorySegment dstSeg) Create a new direct updatable instance of this sketch with the default k.static KllDoublesSketchKllDoublesSketch.newHeapInstance()Create a new heap instance of this sketch with the default k = 200.static KllDoublesSketchKllDoublesSketch.newHeapInstance(int k) Create a new heap instance of this sketch with a given parameter k.static KllDoublesSketchKllDoublesSketch.wrap(MemorySegment srcSeg) Wrap a sketch around the given source MemorySegment containing sketch data that originated from this sketch.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.