public class ThetaSketchFieldConverter extends Object implements FieldConverters
Constructor and Description |
---|
ThetaSketchFieldConverter() |
Modifier and Type | Method and Description |
---|---|
ThetaSketchAggregation |
asInnerSketch(SketchAggregation candidate)
Get the inner SketchAggregation when nesting.
|
ThetaSketchAggregation |
asOuterSketch(SketchAggregation candidate)
Get the outer SketchAggregation when nesting.
|
FuzzySetPostAggregation |
asSketchEstimate(MetricField field)
Get the candidate MetricField as a PostAggregation.
|
ThetaSketchEstimatePostAggregation |
asSketchEstimate(SketchAggregation candidate)
Get the candidate SketchAggregation as a SketchEstimatePostAggregation.
|
public ThetaSketchAggregation asOuterSketch(SketchAggregation candidate)
FieldConverters
asOuterSketch
in interface FieldConverters
candidate
- SketchAggregation to "convert"public ThetaSketchAggregation asInnerSketch(SketchAggregation candidate)
FieldConverters
asInnerSketch
in interface FieldConverters
candidate
- SketchAggregation to "convert"public ThetaSketchEstimatePostAggregation asSketchEstimate(SketchAggregation candidate)
FieldConverters
asSketchEstimate
in interface FieldConverters
candidate
- SketchAggregation to "convert"public FuzzySetPostAggregation asSketchEstimate(MetricField field)
FieldConverters
asSketchEstimate
in interface FieldConverters
field
- Metric field which can be aggregate or post aggregateCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.