Package | Description |
---|---|
org.apache.datasketches.tuple |
The tuple package contains implementation of sketches based on the idea of
theta sketches with the addition of values associated with unique keys.
|
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> |
AnotB.getResult()
Deprecated.
v2.0.0. Instead use
AnotB.getResult(boolean) . |
CompactSketch<S> |
Union.getResult()
Gets the internal set as an unordered CompactSketch
|
CompactSketch<S> |
AnotB.getResult(boolean reset)
Gets the result of the mutistep, 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) ). |
Copyright © 2015–2021 The Apache Software Foundation. All rights reserved.