public class CountMaker extends MetricMaker
metrics, NO_OP_MAP_PROVIDER, NO_OP_MAPPER
Constructor and Description |
---|
CountMaker(MetricDictionary metricDictionary)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected int |
getDependentMetricsRequired()
Get the number of dependent metrics the maker requires for making the metric.
|
protected LogicalMetric |
makeInner(LogicalMetricInfo logicalMetricInfo,
List<String> dependentMetrics)
Delegated to for actually making the metric.
|
assertDependentMetricsExist, assertRequiredDependentMetricCount, getDependentQuery, getMergedQuery, getNumericField, getNumericField, getSketchField, getSketchField, make, make, make, makeInner
public CountMaker(MetricDictionary metricDictionary)
metricDictionary
- Dictionary from which to look up dependent metricsprotected LogicalMetric makeInner(LogicalMetricInfo logicalMetricInfo, List<String> dependentMetrics)
MetricMaker
makeInner
in class MetricMaker
logicalMetricInfo
- Logical metric info providerdependentMetrics
- Metrics this metric depends onprotected int getDependentMetricsRequired()
MetricMaker
getDependentMetricsRequired
in class MetricMaker
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.