S - Type of Summarypublic class Intersection<S extends Summary> extends Object
| Constructor and Description |
|---|
Intersection(SummarySetOperations<S> summarySetOps)
Creates new instance
|
| Modifier and Type | Method and Description |
|---|---|
CompactSketch<S> |
getResult()
Gets the internal set as a CompactSketch
|
void |
reset()
Resets the internal set to the initial state, which represents the Universal Set
|
void |
update(Sketch<S> sketchIn)
Updates the internal set by intersecting it with the given sketch
|
public Intersection(SummarySetOperations<S> summarySetOps)
summarySetOps - instance of SummarySetOperationspublic void update(Sketch<S> sketchIn)
sketchIn - input sketch to intersect with the internal setpublic CompactSketch<S> getResult()
public void reset()
Copyright © 2015–2020 The Apache Software Foundation. All rights reserved.