public interface Intersection
| 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.
|
boolean |
hasResult()
Returns true if there is an intersection result available
|
void |
reset()
Resets this Intersection.
|
byte[] |
toByteArray()
Serialize this intersection to a byte array form.
|
void |
update(Sketch sketchIn)
Intersect the given sketch with the internal state.
|
void update(Sketch sketchIn)
sketchIn - the given sketchCompactSketch getResult(boolean dstOrdered, Memory dstMem)
dstOrdered - See Destination OrdereddstMem - See Destination Memory.CompactSketch getResult()
boolean hasResult()
byte[] toByteArray()
void reset()
Copyright © 2015–2017 Yahoo! Inc.. All rights reserved.