/** * Construct a MetricInstance from Strings with a list of dependencyMetricNames. * * @param metricName The name of the Logical Metric in the metric dictionary * @param maker The Metric Maker that creates the actual Logical Metric * @param dependencyMetricNames The names of metrics either in the dictionary or raw druid metrics that this * Logical Metric depends on */ public MetricInstance(ApiMetricName metricName, MetricMaker maker, FieldName... dependencyMetricNames) { this(metricName.asLogicalMetricInfo(), maker, dependencyMetricNames); }
/** * Construct a MetricInstance from Strings with a list of dependencyMetricNames. * * @param metricName The name of the Logical Metric in the metric dictionary * @param maker The Metric Maker that creates the actual Logical Metric * @param dependencyMetricNames The names of metrics either in the dictionary or raw druid metrics that this * Logical Metric depends on */ public MetricInstance(ApiMetricName metricName, MetricMaker maker, String... dependencyMetricNames) { this(metricName.asLogicalMetricInfo(), maker, dependencyMetricNames); }