Ejemplo n.º 1
0
 /// <summary>
 /// Applies the given <see cref="CoProcessFunction{TInput1,TInput2,TOutput}"/> on the connected input streams, thereby creating a transformed output stream.
 /// The function will be called for every element in the input streams and can produce zero or more output elements. Contrary to the <see cref="ICoFlatMapFunction{TInput1,TInput2,TOutput}"/>} function, this function can also query the time and set timers. When reacting to the firing of set timers the function can directly emit elements and/or register yet more timers.
 /// </summary>
 /// <typeparam name="TOutput">The type of elements emitted by the <see cref="CoProcessFunction{TInput1,TInput2,TOutput}"/>.</typeparam>
 /// <param name="coProcessFunction">The <see cref="CoProcessFunction{TInput1,TInput2,TOutput}"/>} that is called for each element in the stream.</param>
 /// <param name="outputType">The type of elements emitted by the <see cref="CoProcessFunction{TInput1,TInput2,TOutput}"/>.</param>
 /// <returns>The transformed <see cref="DataStream{TElement}"/>.</returns>
 public SingleOutputStreamOperator <TOutput> Process <TOutput>(CoProcessFunction <TInput1, TInput2, TOutput> coProcessFunction, TypeInformation <TOutput> outputType)
 {
     return(null);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Applies the given <see cref="CoProcessFunction{TInput1,TInput2,TOutput}"/> on the connected input streams, thereby creating a transformed output stream.
 /// The function will be called for every element in the input streams and can produce zero or more output elements. Contrary to the <see cref="ICoFlatMapFunction{TInput1,TInput2,TOutput}"/>} function, this function can also query the time and set timers. When reacting to the firing of set timers the function can directly emit elements and/or register yet more timers.
 /// </summary>
 /// <typeparam name="TOutput">The type of elements emitted by the <see cref="CoProcessFunction{TInput1,TInput2,TOutput}"/>.</typeparam>
 /// <param name="coProcessFunction">The <see cref="CoProcessFunction{TInput1,TInput2,TOutput}"/>} that is called for each element in the stream.</param>
 /// <returns>The transformed <see cref="DataStream{TElement}"/>.</returns>
 public SingleOutputStreamOperator <TOutput> Process <TOutput>(CoProcessFunction <TInput1, TInput2, TOutput> coProcessFunction)
 {
     return(null);
 }