public TopNRequestData(string dataSource, IDimensionSpec dimension, ITopNMetricSpec metric, object granularity, long threshold, IList <string> intervals, IFilterSpec filter, IEnumerable <IAggregationSpec> aggregations, IEnumerable <IPostAggregationSpec> postAggregations, TopNContextSpec context) { DataSource = dataSource; Dimension = dimension; Metric = metric; Granularity = granularity; Threshold = threshold; Intervals = intervals; Filter = filter; Aggregations = aggregations; PostAggregations = postAggregations; Context = context; }
public InvertedTopNMetricSpec(ITopNMetricSpec metric) { Metric = metric; }
public ITopNQueryDescriptor Metric(ITopNMetricSpec metricSpec) { MetricSpecValue = metricSpec; return(this); }
public ITopNQueryDescriptor Metric(string metric) { MetricSpecValue = new NumericTopNMetricSpec(metric); return(this); }