public SinkTransformation(
     Transformation <TElement> input,
     string name,
     StreamSink <TElement> @operator,
     int parallelism)
     : this(input, name, SimpleOperatorFactory <object> .Of(@operator), parallelism)
 {
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates a new <see cref="OneInputTransformation{TInput,TOutput}"/> from the given input and operator.
 /// </summary>
 /// <param name="input">The input <see cref="Transformation{T}"/></param>
 /// <param name="name">The name of the <see cref="Transformation{T}"/>, this will be shown in Visualizations and the Log</param>
 /// <param name="operator"></param>
 /// <param name="outputType">The type of the elements produced by this <see cref="OneInputTransformation{TInput,TOutput}"/></param>
 /// <param name="parallelism">The parallelism of this <see cref="OneInputTransformation{TInput,TOutput}"/></param>
 public OneInputTransformation(
     Transformation <TInput> input,
     string name,
     IOneInputStreamOperator <TInput, TOutput> @operator,
     TypeInformation <TOutput> outputType,
     int parallelism)
     : this(input, name, SimpleOperatorFactory <TOutput> .Of(@operator), outputType, parallelism)
 {
 }
Ejemplo n.º 3
0
 public StreamNode(
     int id,
     string slotSharingGroup,
     string coLocationGroup,
     IStreamOperator <object> @operator,
     string operatorName,
     List <IOutputSelector <object> > outputSelector,
     Type jobVertexClass)
     : this(
         id,
         slotSharingGroup,
         coLocationGroup,
         SimpleOperatorFactory <object> .Of(@operator),
         operatorName,
         outputSelector,
         jobVertexClass)
 {
 }