Beispiel #1
0
 public Stream <R, Epoch> NewInput <R>(DataSource <R> source, string name)
 {
     Dataflow.StreamingInputStage <R> ret = new Dataflow.StreamingInputStage <R>(source, this.DefaultPlacement, this, name);
     this.inputs.Add(ret);
     this.streamingInputs.Add(source);
     return(ret);
 }
Beispiel #2
0
        internal static Stream <S, Epoch> MakeStage(DataSource <S> source, InternalComputation internalComputation, Placement placement, string inputName)
        {
            var stage = new StreamingInputStage <S>(source, placement, internalComputation, inputName);

            return(stage);
        }