Ejemplo n.º 1
0
 public OperatorNode Sink(Type t, int parallelism = 1, int outputStreamCount = 1, PartitionPolicy partitionPolicy = PartitionPolicy.RoundRobin)
 {
     if (!DataStreamValidator.ValidateType <ISink>(t))
     {
         new OperatorMismatchException("Operator is not of type ISink");
     }
     return(new OperatorNode(_mgr, this, t, parallelism, outputStreamCount, partitionPolicy));
 }
Ejemplo n.º 2
0
 public OperatorNode WindowJoin(Type t, OperatorNode sourceB, int parallelism = 1, int outputStreamCount = 1, PartitionPolicy partitionPolicy = PartitionPolicy.RoundRobin)
 {
     if (!DataStreamValidator.ValidateType <IWindowJoin>(t))
     {
         new OperatorMismatchException("Operator is not of type IWindowJoin");
     }
     return(new OperatorNode(_mgr, this, t, parallelism, outputStreamCount, partitionPolicy, sourceB));
 }