Example #1
0
 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 TopNQueryDescriptor()
 {
     ContextValue = new TopNContextSpec();
 }