示例#1
0
 public MapReduce Map(Phase phase)
 {
     phase.Type = PhaseType.Map;
     _map.Add(phase);
     return this;
 }
示例#2
0
 public MapReduce Reduce(Phase phase)
 {
     phase.Type = PhaseType.Reduce;
     _reduce.Add(phase);
     return this;
 }
示例#3
0
 public MapReduce Link(Phase phase)
 {
     phase.Type = PhaseType.Link;
     _link.Add(phase);
     return this;
 }