Uses of Class
org.apache.datasketches.tuple.CompactTupleSketch
Packages that use CompactTupleSketch
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 CompactTupleSketch in org.apache.datasketches.tuple
Methods in org.apache.datasketches.tuple that return CompactTupleSketchModifier and TypeMethodDescriptionstatic <S extends Summary>
CompactTupleSketch<S> TupleAnotB.aNotB(TupleSketch<S> skA, ThetaSketch skB) Returns the A-and-not-B set operation on a TupleSketch and a ThetaSketch.static <S extends Summary>
CompactTupleSketch<S> TupleAnotB.aNotB(TupleSketch<S> skA, TupleSketch<S> skB) Returns the A-and-not-B set operation on the two given TupleSketches.CompactTupleSketch.compact()abstract CompactTupleSketch<S> TupleSketch.compact()Converts this TupleSketch to a CompactTupleSketch on the Java heap.Filter.filter(TupleSketch<T> sketchIn) Filters elements on the providedTupleSketchTupleAnotB.getResult(boolean reset) Gets the result of the multistep, stateful operation TupleAnotB that have been executed with calls toTupleAnotB.setA(TupleSketch)and (TupleAnotB.notB(TupleSketch)orTupleAnotB.notB(ThetaSketch)).TupleIntersection.getResult()Gets the internal set as an unordered CompactTupleSketchTupleUnion.getResult()Gets the result of a sequence of stateful union operations as an unordered CompactTupleSketchTupleUnion.getResult(boolean reset) Gets the result of a sequence of stateful union operations as an unordered CompactTupleSketch.TupleIntersection.intersect(TupleSketch<S> tupleSketch, ThetaSketch thetaSketch, S summary) Perform a stateless intersect set operation on a TupleSketch and a ThetaSketch and returns the result as an unordered CompactTupleSketch on the heap.TupleIntersection.intersect(TupleSketch<S> tupleSketchA, TupleSketch<S> tupleSketchB) Perform a stateless intersect set operation on the two given TupleSketches and returns the result as an unordered CompactTupleSketch on the heap.TupleUnion.union(TupleSketch<S> tupleSketch, ThetaSketch thetaSketch, S summary) Perform a stateless, pair-wise union operation between a tupleSketch and a ThetaSketch.TupleUnion.union(TupleSketch<S> tupleSketchA, TupleSketch<S> tupleSketchB) Perform a stateless, pair-wise union operation between two tuple sketches.