public class PairwiseSetOperations extends Object
| Constructor and Description |
|---|
PairwiseSetOperations() |
| Modifier and Type | Method and Description |
|---|---|
static CompactSketch |
aNotB(CompactSketch skA,
CompactSketch skB)
This implements a stateless, pair-wise A AND NOT B operation on ordered,
CompactSketches that are either Heap-based or Direct.
|
static CompactSketch |
intersect(CompactSketch skA,
CompactSketch skB)
This implements a stateless, pair-wise intersection operation on ordered,
CompactSketches that are either Heap-based or Direct.
|
static CompactSketch |
union(CompactSketch skA,
CompactSketch skB)
This implements a stateless, pair-wise union operation on ordered,
CompactSketches that are either Heap-based or Direct.
|
static CompactSketch |
union(CompactSketch skA,
CompactSketch skB,
int k)
This implements a stateless, pair-wise union operation on ordered,
CompactSketches that are either Heap-based or Direct.
|
public static CompactSketch intersect(CompactSketch skA, CompactSketch skB)
skA - The first ordered, CompactSketch argument.skB - The second ordered, CompactSketch argument.public static CompactSketch aNotB(CompactSketch skA, CompactSketch skB)
skA - The first ordered, CompactSketch argument.skB - The second ordered, CompactSketch argument.public static CompactSketch union(CompactSketch skA, CompactSketch skB)
skA - The first ordered, CompactSketch argument.skB - The second ordered, CompactSketch argumentpublic static CompactSketch union(CompactSketch skA, CompactSketch skB, int k)
skA - The first ordered, CompactSketch argument.skB - The second ordered, CompactSketch argumentk - The upper bound of the number of entries to be retained by the sketchCopyright © 2015–2017 Yahoo! Inc.. All rights reserved.