Uses of Class
org.apache.datasketches.tuple.CompactSketch
| 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.
|
-
Uses of CompactSketch in org.apache.datasketches.tuple
Methods in org.apache.datasketches.tuple that return CompactSketch Modifier and Type Method Description static <S extends Summary>
CompactSketch<S>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>
CompactSketch<S>AnotB. aNotB(Sketch<S> skA, Sketch<S> skB)Returns the A-and-not-B set operation on the two given Tuple sketches.CompactSketch<S>CompactSketch. compact()abstract CompactSketch<S>Sketch. compact()Converts this sketch to a CompactSketch on the Java heap.CompactSketch<T>Filter. filter(Sketch<T> sketchIn)Filters elements on the providedSketchCompactSketch<S>AnotB. getResult(boolean reset)Gets the result of the mutistep, stateful operation AnotB that have been executed with calls toAnotB.setA(Sketch)and (AnotB.notB(Sketch)orAnotB.notB(org.apache.datasketches.theta.Sketch)).CompactSketch<S>Intersection. getResult()Gets the internal set as an unordered CompactSketchCompactSketch<S>Union. getResult()Gets the result of a sequence of stateful union operations as an unordered CompactSketchCompactSketch<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>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>Union. union(Sketch<S> tupleSketch, Sketch thetaSketch, S summary)Perform a stateless, pair-wise union operation between a tupleSketch and a thetaSketch.CompactSketch<S>Union. union(Sketch<S> tupleSketchA, Sketch<S> tupleSketchB)Perform a stateless, pair-wise union operation between two tuple sketches.