| Package | Description |
|---|---|
| org.apache.datasketches.theta |
The theta package contains all the sketch classes that are members of the
Theta Sketch Framework.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SingleItemSketch |
| Modifier and Type | Method and Description |
|---|---|
CompactSketch |
AnotB.aNotB(Sketch a,
Sketch b)
Perform A-and-not-B set operation on the two given sketches and return the result as an
ordered CompactSketch on the heap.
|
static CompactSketch |
PairwiseSetOperations.aNotB(Sketch skA,
Sketch skB)
This implements a stateless, pair-wise A AND NOT B operation on Sketches
that are either Heap-based or Direct.
|
abstract CompactSketch |
AnotB.aNotB(Sketch a,
Sketch b,
boolean dstOrdered,
org.apache.datasketches.memory.WritableMemory dstMem)
Perform A-and-not-B set operation on the two given sketches and return the result as a
CompactSketch.
|
CompactSketch |
UpdateSketch.compact() |
abstract CompactSketch |
Sketch.compact()
Converts this sketch to an ordered CompactSketch on the Java heap.
|
CompactSketch |
CompactSketch.compact() |
CompactSketch |
UpdateSketch.compact(boolean dstOrdered,
org.apache.datasketches.memory.WritableMemory dstMem) |
abstract CompactSketch |
Sketch.compact(boolean dstOrdered,
org.apache.datasketches.memory.WritableMemory dstMem)
Convert this sketch to a CompactSketch in the chosen form.
|
CompactSketch |
CompactSketch.compact(boolean dstOrdered,
org.apache.datasketches.memory.WritableMemory dstMem) |
abstract CompactSketch |
Intersection.getResult()
Gets the result of this operation as an ordered CompactSketch on the Java heap.
|
abstract CompactSketch |
AnotB.getResult()
Gets the result of this operation as an ordered CompactSketch on the Java heap
|
abstract CompactSketch |
Union.getResult()
Gets the result of this operation as an ordered CompactSketch on the Java heap.
|
abstract CompactSketch |
Intersection.getResult(boolean dstOrdered,
org.apache.datasketches.memory.WritableMemory dstMem)
Gets the result of this operation as a CompactSketch of the chosen form.
|
abstract CompactSketch |
AnotB.getResult(boolean dstOrdered,
org.apache.datasketches.memory.WritableMemory dstMem)
Gets the result of this set operation as a CompactSketch of the chosen form
|
abstract CompactSketch |
Union.getResult(boolean dstOrdered,
org.apache.datasketches.memory.WritableMemory dstMem)
Gets the result of this operation as a CompactSketch of the chosen form.
|
CompactSketch |
Intersection.intersect(Sketch a,
Sketch b)
Perform intersect set operation on the two given sketch arguments and return the result as an
ordered CompactSketch on the heap.
|
static CompactSketch |
PairwiseSetOperations.intersect(Sketch skA,
Sketch skB)
This implements a stateless, pair-wise Intersect operation on sketches
that are either Heap-based or Direct.
|
abstract CompactSketch |
Intersection.intersect(Sketch a,
Sketch b,
boolean dstOrdered,
org.apache.datasketches.memory.WritableMemory dstMem)
Perform intersect set operation on the two given sketches and return the result as a
CompactSketch.
|
static CompactSketch |
PairwiseSetOperations.union(CompactSketch skA,
CompactSketch skB)
This implements a stateless, pair-wise union operation on ordered,
CompactSketches that are either Heap-based or Direct.
|
static CompactSketch |
PairwiseSetOperations.union(CompactSketch skA,
CompactSketch skB,
int k)
This implements a stateless, pair-wise union operation on ordered,
CompactSketches that are either Heap-based or Direct.
|
| Modifier and Type | Method and Description |
|---|---|
static CompactSketch |
PairwiseSetOperations.union(CompactSketch skA,
CompactSketch skB)
This implements a stateless, pair-wise union operation on ordered,
CompactSketches that are either Heap-based or Direct.
|
static CompactSketch |
PairwiseSetOperations.union(CompactSketch skA,
CompactSketch skB,
int k)
This implements a stateless, pair-wise union operation on ordered,
CompactSketches that are either Heap-based or Direct.
|
Copyright © 2015–2020 The Apache Software Foundation. All rights reserved.