Package | Description |
---|---|
org.apache.datasketches.tuple |
The tuple package contains a number of sketches based on the same
fundamental algorithms of the Theta Sketch Framework and extend these
concepts for whole new families of sketches.
|
Modifier and Type | Method and Description |
---|---|
static <S extends Summary> |
AnotB.aNotB(Sketch<S> skA,
Sketch skB)
Returns the A-and-not-B set operation on a Tuple sketch and a Theta sketch.
|
static <S extends Summary> |
AnotB.aNotB(Sketch<S> skA,
Sketch<S> skB)
Returns the A-and-not-B set operation on the two given Tuple sketches.
|
abstract CompactSketch<S> |
Sketch.compact()
Converts this sketch to a CompactSketch on the Java heap.
|
CompactSketch<S> |
CompactSketch.compact() |
CompactSketch<T> |
Filter.filter(Sketch<T> sketchIn)
Filters elements on the provided
Sketch |
CompactSketch<S> |
Intersection.getResult()
Gets the internal set as an unordered CompactSketch
|
CompactSketch<S> |
Union.getResult()
Gets the result of a sequence of stateful union operations as an unordered CompactSketch
|
CompactSketch<S> |
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) ). |
CompactSketch<S> |
Union.getResult(boolean reset)
Gets the result of a sequence of stateful union operations as an unordered CompactSketch.
|
CompactSketch<S> |
Intersection.intersect(Sketch<S> tupleSketchA,
Sketch<S> tupleSketchB)
Perform a stateless intersect set operation on the two given tuple sketches and returns the
result as an unordered CompactSketch on the heap.
|
CompactSketch<S> |
Intersection.intersect(Sketch<S> tupleSketch,
Sketch thetaSketch,
S summary)
Perform a stateless intersect set operation on a tuple sketch and a theta sketch and returns the
result as an unordered CompactSketch on the heap.
|
CompactSketch<S> |
Union.union(Sketch<S> tupleSketchA,
Sketch<S> tupleSketchB)
Perform a stateless, pair-wise union operation between two tuple sketches.
|
CompactSketch<S> |
Union.union(Sketch<S> tupleSketch,
Sketch thetaSketch,
S summary)
Perform a stateless, pair-wise union operation between a tupleSketch and a thetaSketch.
|
Copyright © 2015–2024 The Apache Software Foundation. All rights reserved.