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 | Method and Description |
---|---|
CompactSketch |
AnotB.aNotB(Sketch skA,
Sketch skB)
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)
Deprecated.
v2.0.0. Use
AnotB.aNotB(Sketch, Sketch) instead, which has more
complete seed handling. |
abstract CompactSketch |
AnotB.aNotB(Sketch skA,
Sketch skB,
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 |
Sketch.compact()
Converts this sketch to a ordered CompactSketch on the Java heap.
|
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 new CompactSketch of the chosen order and direct or on the heap.
|
abstract CompactSketch |
CompactSketch.compact(boolean dstOrdered,
org.apache.datasketches.memory.WritableMemory dstMem) |
CompactSketch |
Intersection.getResult()
Gets the result of this operation as an ordered CompactSketch on the Java heap.
|
CompactSketch |
AnotB.getResult()
Deprecated.
v2.0.0. Instead use
AnotB.getResult(boolean) or
AnotB.getResult(boolean, WritableMemory, boolean) . |
abstract CompactSketch |
Union.getResult()
Gets the result of this operation as an ordered CompactSketch on the Java heap.
|
abstract CompactSketch |
AnotB.getResult(boolean reset)
Gets the result of the multistep, stateful operation AnotB that have been executed with calls
to
AnotB.setA(Sketch) and (AnotB.notB(Sketch) or
AnotB.notB(org.apache.datasketches.theta.Sketch) ). |
abstract CompactSketch |
Intersection.getResult(boolean dstOrdered,
org.apache.datasketches.memory.WritableMemory dstMem)
Gets the result of this operation as a CompactSketch in the given dstMem.
|
CompactSketch |
AnotB.getResult(boolean dstOrdered,
org.apache.datasketches.memory.WritableMemory dstMem)
Deprecated.
v2.0.0. Instead use
AnotB.getResult(boolean) or
AnotB.getResult(boolean, WritableMemory, boolean) . |
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.
|
abstract CompactSketch |
AnotB.getResult(boolean dstOrdered,
org.apache.datasketches.memory.WritableMemory dstMem,
boolean reset)
Gets the result of the multistep, stateful operation AnotB that have been executed with calls
to
AnotB.setA(Sketch) and (AnotB.notB(Sketch) or
AnotB.notB(org.apache.datasketches.theta.Sketch) ). |
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)
Deprecated.
v2.0.0. Use
Intersection.intersect(Sketch, Sketch) instead, which has more
complete seed handling. |
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)
Deprecated.
v2.0.0. Please use
Union.union(Sketch, Sketch) instead, which has more
complete seed handling. |
static CompactSketch |
PairwiseSetOperations.union(CompactSketch skA,
CompactSketch skB,
int k)
Deprecated.
v2.0.0. Please use
Union.union(Sketch, Sketch) instead, which has more
complete seed handling. |
CompactSketch |
Union.union(Sketch sketchA,
Sketch sketchB)
This implements a stateless, pair-wise union operation.
|
abstract CompactSketch |
Union.union(Sketch sketchA,
Sketch sketchB,
boolean dstOrdered,
org.apache.datasketches.memory.WritableMemory dstMem)
This implements a stateless, pair-wise union operation.
|
Modifier and Type | Method and Description |
---|---|
static CompactSketch |
PairwiseSetOperations.union(CompactSketch skA,
CompactSketch skB)
Deprecated.
v2.0.0. Please use
Union.union(Sketch, Sketch) instead, which has more
complete seed handling. |
static CompactSketch |
PairwiseSetOperations.union(CompactSketch skA,
CompactSketch skB,
int k)
Deprecated.
v2.0.0. Please use
Union.union(Sketch, Sketch) instead, which has more
complete seed handling. |
Copyright © 2015–2021 The Apache Software Foundation. All rights reserved.