S - type of Summarypublic interface SummarySetOperations<S extends Summary>
| Modifier and Type | Method and Description |
|---|---|
S |
intersection(S a,
S b)
This is called when an intersection of two sketches is produced, and both sketches have the
same key.
|
S |
union(S a,
S b)
This is called when a union of two sketches is produced, and both sketches have the same key.
|
S union(S a, S b)
Caution: Do not modify the input Summary objects. Also do not return them directly, unless they are immutable (most Summary objects are not). For mutable Summary objects, it is important to create a new Summary object with the correct contents to be returned. Do not return null summaries.
a - Summary from sketch Ab - Summary from sketch BS intersection(S a, S b)
Caution: Do not modify the input Summary objects. Also do not return them directly, unless they are immutable (most Summary objects are not). For mutable Summary objects, it is important to create a new Summary object with the correct contents to be returned. Do not return null summaries.
a - Summary from sketch Ab - Summary from sketch BCopyright © 2015–2020 The Apache Software Foundation. All rights reserved.