public class ThetaSketchMaker extends RawAggregationMetricMaker
metrics, NO_OP_MAP_PROVIDER, NO_OP_MAPPER
Constructor and Description |
---|
ThetaSketchMaker(MetricDictionary metrics,
int sketchSize)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ResultSetMapper |
getResultSetMapper(String metricName)
The result set mapper associated with this metric.
|
assertDependentMetricsExist, getDependentMetricsRequired, makeInner
assertRequiredDependentMetricCount, getDependentQuery, getMergedQuery, getNumericField, getNumericField, getSketchField, getSketchField, make, make, make, makeInner
public ThetaSketchMaker(MetricDictionary metrics, int sketchSize)
metrics
- A mapping of metric names to the corresponding LogicalMetrics. Used to resolve metric names
when making the logical metric.sketchSize
- The size beyond which the sketch constructed by this maker should perform approximations.public ResultSetMapper getResultSetMapper(String metricName)
RawAggregationMetricMaker
getResultSetMapper
in class RawAggregationMetricMaker
metricName
- The metric name modified by this result set mapper (if any)Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.