public interface AnotB
AnotB aNotB = SetOperationBuilder.buildAnotB();
aNotB.update(SketchA, SketchB); //Called only once.
CompactSketch result = aNotB.getResult();
Calling the update function a second time essentially clears the internal state and updates with the new pair of sketches.
| Modifier and Type | Method and Description |
|---|---|
CompactSketch |
getResult()
Gets the result of this operation as an ordered CompactSketch on the Java heap
|
CompactSketch |
getResult(boolean dstOrdered,
Memory dstMem)
Gets the result of this operation as a CompactSketch of the chosen form
|
void |
update(Sketch a,
Sketch b)
Perform A-and-not-B set operation on the two given sketches.
|
void update(Sketch a, Sketch b)
a - The incoming sketch for the first argumentb - The incoming sketch for the second argumentCompactSketch getResult(boolean dstOrdered, Memory dstMem)
dstOrdered - See Destination OrdereddstMem - See Destination Memory.CompactSketch getResult()
Copyright © 2015–2017 Yahoo! Inc.. All rights reserved.