Uses of Class
org.apache.datasketches.kll.KllLongsSketch
-
Packages that use KllLongsSketch Package Description org.apache.datasketches.kll 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 KllLongsSketch in org.apache.datasketches.kll
Methods in org.apache.datasketches.kll that return KllLongsSketch Modifier and Type Method Description static KllLongsSketch
KllLongsSketch. heapify(org.apache.datasketches.memory.Memory srcMem)
Factory heapify takes a compact sketch image in Memory and instantiates an on-heap sketch.static KllLongsSketch
KllLongsSketch. newDirectInstance(int k, org.apache.datasketches.memory.WritableMemory dstMem, org.apache.datasketches.memory.MemoryRequestServer memReqSvr)
Create a new direct updatable instance of this sketch with a given k.static KllLongsSketch
KllLongsSketch. newDirectInstance(org.apache.datasketches.memory.WritableMemory dstMem, org.apache.datasketches.memory.MemoryRequestServer memReqSvr)
Create a new direct updatable instance of this sketch with the default k.static KllLongsSketch
KllLongsSketch. newHeapInstance()
Create a new heap instance of this sketch with the default k = 200.static KllLongsSketch
KllLongsSketch. newHeapInstance(int k)
Create a new heap instance of this sketch with a given parameter k.static KllLongsSketch
KllLongsSketch. wrap(org.apache.datasketches.memory.Memory srcMem)
Wrap a sketch around the given read only compact source Memory containing sketch data that originated from this sketch.static KllLongsSketch
KllLongsSketch. writableWrap(org.apache.datasketches.memory.WritableMemory srcMem, org.apache.datasketches.memory.MemoryRequestServer memReqSvr)
Wrap a sketch around the given source Writable Memory containing sketch data that originated from this sketch.
-