public class ArrayOfStringsSummarySetOperations extends Object implements SummarySetOperations<ArrayOfStringsSummary>
| Constructor and Description |
|---|
ArrayOfStringsSummarySetOperations() |
| Modifier and Type | Method and Description |
|---|---|
ArrayOfStringsSummary |
intersection(ArrayOfStringsSummary a,
ArrayOfStringsSummary b)
This is called when an intersection of two sketches is produced, and both sketches have the
same key.
|
ArrayOfStringsSummary |
union(ArrayOfStringsSummary a,
ArrayOfStringsSummary b)
This is called when a union of two sketches is produced, and both sketches have the same key.
|
public ArrayOfStringsSummary union(ArrayOfStringsSummary a, ArrayOfStringsSummary b)
SummarySetOperationsCaution: 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.
union in interface SummarySetOperations<ArrayOfStringsSummary>a - Summary from sketch Ab - Summary from sketch Bpublic ArrayOfStringsSummary intersection(ArrayOfStringsSummary a, ArrayOfStringsSummary b)
SummarySetOperationsCaution: 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.
intersection in interface SummarySetOperations<ArrayOfStringsSummary>a - Summary from sketch Ab - Summary from sketch BCopyright © 2015–2020 The Apache Software Foundation. All rights reserved.