public override void AcceptGroupDetail(AggregationServiceVisitorWGroupDetail visitor)
 {
     visitor.VisitGrouped(GetGroupKeyCount());
     foreach (var anAggregatorsPerGroup in _aggregatorsPerGroup)
     {
         foreach (var entry in anAggregatorsPerGroup)
         {
             visitor.VisitGroup(entry.Key, entry.Value);
         }
     }
     visitor.VisitGroup(new Object[0], _aggregatorTopGroup);
 }
 public void AcceptGroupDetail(AggregationServiceVisitorWGroupDetail visitor)
 {
     visitor.VisitGrouped(NumGroups);
     if (AggregatorsTopLevel != null)
     {
         visitor.VisitGroup(null, AggregatorsTopLevel, StatesTopLevel);
     }
     for (var i = 0; i < localGroupByPlan.AllLevels.Length; i++)
     {
         foreach (var entry in AggregatorsPerLevelAndGroup[i])
         {
             visitor.VisitGroup(entry.Key, entry.Value);
         }
     }
 }
Пример #3
0
 public override void AcceptGroupDetail(AggregationServiceVisitorWGroupDetail visitor)
 {
     visitor.VisitGrouped(AggregatorsPerGroup.Count);
     foreach (var entry in AggregatorsPerGroup)
     {
         visitor.VisitGroup(entry.Key, entry.Value);
     }
 }
 public void AcceptGroupDetail(AggregationServiceVisitorWGroupDetail visitor)
 {
     visitor.VisitGrouped(_accessMap.Count);
     foreach (var entry in _accessMap)
     {
         visitor.VisitGroup(entry.Key, entry.Value);
     }
 }