Exemple #1
0
 public OlapCube Count <T>(Func <IOlapDataVector, bool> aggregatePred = null, string title = "Count")
 {
     Aggregators.Add(AggregatorFactory.CreateCount <T>(aggregatePred));
     ValueTitles.Add(title);
     return(this);
 }
Exemple #2
0
 public OlapCube Min <T>(Func <IOlapDataVector, object> valueSelector, Func <IOlapDataVector, bool> aggregatePred = null, string title = "Min")
 {
     Aggregators.Add(AggregatorFactory.CreateMin <T>(valueSelector, aggregatePred));
     ValueTitles.Add(title);
     return(this);
 }
Exemple #3
0
 public OlapCube Aggregate(IAggregator aggregator, string title = "")
 {
     Aggregators.Add(aggregator);
     ValueTitles.Add(title);
     return(this);
 }