public final class DoubleSummarySetOperations extends Object implements SummarySetOperations<DoubleSummary>
| Constructor and Description |
|---|
DoubleSummarySetOperations(DoubleSummary.Mode summaryMode)
Creates an instance given a DoubleSummary update mode.
|
| Modifier and Type | Method and Description |
|---|---|
DoubleSummary |
intersection(DoubleSummary a,
DoubleSummary b)
This is called when an intersection of two sketches is produced, and both sketches have the
same key.
|
DoubleSummary |
union(DoubleSummary a,
DoubleSummary b)
This is called when a union of two sketches is produced, and both sketches have the same key.
|
public DoubleSummarySetOperations(DoubleSummary.Mode summaryMode)
summaryMode - DoubleSummary update mode.public DoubleSummary union(DoubleSummary a, DoubleSummary b)
SummarySetOperationsunion in interface SummarySetOperations<DoubleSummary>a - Summary from sketch Ab - Summary from sketch Bpublic DoubleSummary intersection(DoubleSummary a, DoubleSummary b)
SummarySetOperationsintersection in interface SummarySetOperations<DoubleSummary>a - Summary from sketch Ab - Summary from sketch BCopyright © 2015–2017 Yahoo! Inc.. All rights reserved.