Uses of Class
org.apache.datasketches.theta.CompactSketch
| Package | Description |
|---|---|
| org.apache.datasketches.theta |
The theta package contains all the sketch classes that are members of the
Theta Sketch Framework.
|
-
Uses of CompactSketch in org.apache.datasketches.theta
Methods in org.apache.datasketches.theta that return CompactSketch Modifier and Type Method Description CompactSketchAnotB. aNotB(Sketch skA, Sketch skB)Perform A-and-not-B set operation on the two given sketches and return the result as an ordered CompactSketch on the heap.abstract CompactSketchAnotB. aNotB(Sketch skA, Sketch skB, boolean dstOrdered, org.apache.datasketches.memory.WritableMemory dstMem)Perform A-and-not-B set operation on the two given sketches and return the result as a CompactSketch.static CompactSketchPairwiseSetOperations. aNotB(Sketch skA, Sketch skB)Deprecated.v2.0.0.abstract CompactSketchCompactSketch. compact(boolean dstOrdered, org.apache.datasketches.memory.WritableMemory dstMem)CompactSketchSketch. compact()Converts this sketch to a ordered CompactSketch on the Java heap.abstract CompactSketchSketch. compact(boolean dstOrdered, org.apache.datasketches.memory.WritableMemory dstMem)Convert this sketch to a new CompactSketch of the chosen order and direct or on the heap.CompactSketchUpdateSketch. compact(boolean dstOrdered, org.apache.datasketches.memory.WritableMemory dstMem)abstract CompactSketchAnotB. 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)).abstract CompactSketchAnotB. getResult(boolean dstOrdered, org.apache.datasketches.memory.WritableMemory dstMem, 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)).CompactSketchIntersection. getResult()Gets the result of this operation as an ordered CompactSketch on the Java heap.abstract CompactSketchIntersection. getResult(boolean dstOrdered, org.apache.datasketches.memory.WritableMemory dstMem)Gets the result of this operation as a CompactSketch in the given dstMem.abstract CompactSketchUnion. getResult()Gets the result of this operation as an ordered CompactSketch on the Java heap.abstract CompactSketchUnion. getResult(boolean dstOrdered, org.apache.datasketches.memory.WritableMemory dstMem)Gets the result of this operation as a CompactSketch of the chosen form.CompactSketchIntersection. intersect(Sketch a, Sketch b)Perform intersect set operation on the two given sketch arguments and return the result as an ordered CompactSketch on the heap.abstract CompactSketchIntersection. intersect(Sketch a, Sketch b, boolean dstOrdered, org.apache.datasketches.memory.WritableMemory dstMem)Perform intersect set operation on the two given sketches and return the result as a CompactSketch.static CompactSketchPairwiseSetOperations. intersect(Sketch skA, Sketch skB)Deprecated.v2.0.0.static CompactSketchPairwiseSetOperations. union(CompactSketch skA, CompactSketch skB)Deprecated.v2.0.0.static CompactSketchPairwiseSetOperations. union(CompactSketch skA, CompactSketch skB, int k)Deprecated.v2.0.0.CompactSketchUnion. union(Sketch sketchA, Sketch sketchB)This implements a stateless, pair-wise union operation.abstract CompactSketchUnion. union(Sketch sketchA, Sketch sketchB, boolean dstOrdered, org.apache.datasketches.memory.WritableMemory dstMem)This implements a stateless, pair-wise union operation.Methods in org.apache.datasketches.theta with parameters of type CompactSketch Modifier and Type Method Description static CompactSketchPairwiseSetOperations. union(CompactSketch skA, CompactSketch skB)Deprecated.v2.0.0.static CompactSketchPairwiseSetOperations. union(CompactSketch skA, CompactSketch skB, int k)Deprecated.v2.0.0.