Uses of Class
org.apache.datasketches.tuple.CompactSketch
Package
Description
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.
-
Uses of CompactSketch in org.apache.datasketches.tuple
Modifier and TypeMethodDescriptionstatic <S extends Summary>
CompactSketch<S>Returns the A-and-not-B set operation on a Tuple sketch and a Theta sketch.static <S extends Summary>
CompactSketch<S>Returns the A-and-not-B set operation on the two given Tuple sketches.CompactSketch.compact()
abstract CompactSketch<S>
Sketch.compact()
Converts this sketch to a CompactSketch on the Java heap.Filters elements on the providedSketch
AnotB.getResult
(boolean reset) Gets the result of the multistep, stateful operation AnotB that have been executed with calls toAnotB.setA(Sketch)
and (AnotB.notB(Sketch)
orAnotB.notB(org.apache.datasketches.theta.Sketch)
).Intersection.getResult()
Gets the internal set as an unordered CompactSketchUnion.getResult()
Gets the result of a sequence of stateful union operations as an unordered CompactSketchUnion.getResult
(boolean reset) Gets the result of a sequence of stateful union operations as an unordered CompactSketch.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.Perform a stateless intersect set operation on the two given tuple sketches and returns the result as an unordered CompactSketch on the heap.Perform a stateless, pair-wise union operation between a tupleSketch and a thetaSketch.Perform a stateless, pair-wise union operation between two tuple sketches.