Example #1
0
 public GroupByRequestData(object dataSource, object granularity, IList <string> intervals, IFilterSpec filter, GroupByContextSpec context, IEnumerable <IDimensionSpec> dimensions, IEnumerable <IAggregationSpec> aggregations, IEnumerable <IPostAggregationSpec> postAggregations, ILimitSpec limitSpec, IHavingSpec havingSpec)
 {
     DataSource       = dataSource;
     Granularity      = granularity;
     Intervals        = intervals;
     Filter           = filter;
     Context          = context;
     Dimensions       = dimensions;
     Aggregations     = aggregations;
     PostAggregations = postAggregations;
     LimitSpec        = limitSpec;
     HavingSpec       = havingSpec;
 }
Example #2
0
        public IGroupByQueryDescriptor Limit(ILimitSpec limitSpec)
        {
            LimitSpecValue = limitSpec;

            return(this);
        }