示例#1
0
文件: OlapCube.cs 项目: lanicon/OLAP
 public OlapCube Count <T>(Func <IOlapDataVector, bool> aggregatePred = null, string title = "Count")
 {
     Aggregators.Add(AggregatorFactory.CreateCount <T>(aggregatePred));
     ValueTitles.Add(title);
     return(this);
 }
示例#2
0
文件: OlapCube.cs 项目: lanicon/OLAP
 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);
 }
示例#3
0
文件: OlapCube.cs 项目: lanicon/OLAP
 public OlapCube Aggregate(IAggregator aggregator, string title = "")
 {
     Aggregators.Add(aggregator);
     ValueTitles.Add(title);
     return(this);
 }