| Package | Description |
|---|---|
| org.apache.datasketches.kll |
Implementation of a very compact quantiles sketch with lazy compaction scheme
and nearly optimal accuracy per retained item.
|
| Modifier and Type | Method and Description |
|---|---|
static KllFloatsSketch |
KllFloatsSketch.heapify(org.apache.datasketches.memory.Memory srcMem)
Factory heapify takes the sketch image in Memory and instantiates an on-heap sketch.
|
static KllFloatsSketch |
KllFloatsSketch.newDirectInstance(int k,
org.apache.datasketches.memory.WritableMemory dstMem,
org.apache.datasketches.memory.MemoryRequestServer memReqSvr)
Create a new direct instance of this sketch with a given k.
|
static KllFloatsSketch |
KllFloatsSketch.newDirectInstance(org.apache.datasketches.memory.WritableMemory dstMem,
org.apache.datasketches.memory.MemoryRequestServer memReqSvr)
Create a new direct instance of this sketch with the default k.
|
static KllFloatsSketch |
KllFloatsSketch.newHeapInstance()
Create a new heap instance of this sketch with the default k = 200.
|
static KllFloatsSketch |
KllFloatsSketch.newHeapInstance(int k)
Create a new heap instance of this sketch with a given parameter k.
|
static KllFloatsSketch |
KllFloatsSketch.wrap(org.apache.datasketches.memory.Memory srcMem)
Wrap a sketch around the given read only source Memory containing sketch data
that originated from this sketch.
|
static KllFloatsSketch |
KllFloatsSketch.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.
|
Copyright © 2015–2020 The Apache Software Foundation. All rights reserved.