internal OperatorNode(TopologyManager mgr, OperatorNode previous, Type t, int parallelism, int outputStreamCount, PartitionPolicy partitionPolicy) { for (int i = 0; i < parallelism; i++) { OperatorGUIDs.Add(Guid.NewGuid()); } Prev.Add(previous); OperatorType = t; StreamGUID = Guid.NewGuid(); Parallelism = parallelism; SetPartitioner(partitionPolicy); OutputStreamCount = outputStreamCount; _mgr = mgr; mgr.Operators.Add(this); }
public void AddInput(OperatorNode node) { Prev.Add(node); }