示例#1
0
文件: Stage.cs 项目: omidm/naiad
        internal StageOutput <R, T> NewOutput <R, T>(ITimeContext <T> context, Expression <Func <R, int> > partitionedBy)
            where T : Time <T>
        {
            inputsSealed = true;

            var result = new StageOutput <R, T>(this, context, partitionedBy);

            return(result);
        }
示例#2
0
 public void Connect <S, T>(Dataflow.StageOutput <S, T> stream, Dataflow.StageInput <S, T> recvPort)
     where T : Time <T>
 {
     this.Connect(stream, recvPort, null, Channel.Flags.None);
 }
示例#3
0
 public void Connect <S, T>(Dataflow.StageOutput <S, T> stream, Dataflow.StageInput <S, T> recvPort, Action <S[], int[], int> key)
     where T : Time <T>
 {
     this.Connect(stream, recvPort, key, Channel.Flags.None);
 }
示例#4
0
 public void Connect <S, T>(Dataflow.StageOutput <S, T> stream, Dataflow.StageInput <S, T> recvPort, Action <S[], int[], int> key, Channel.Flags flags)
     where T : Time <T>
 {
     stream.ForStage.Targets.Add(new Dataflow.Edge <S, T>(stream, recvPort, key, flags));
 }
示例#5
0
 public void Connect <S, T>(Dataflow.StageOutput <S, T> stream, Dataflow.StageInput <S, T> recvPort, Expression <Func <S, int> > key)
     where T : Time <T>
 {
     this.Connect(stream, recvPort, key, Channel.Flags.None);
 }