Пример #1
0
 /// <summary>
 /// Applies a CoFlatMap transformation on a <see cref="ConnectedStreams{IN1,IN2}"/> and maps the output to a common type. The transformation calls a <see cref="ICoMapFunction{TInput1,TInput2,TOutput}.Map1"/> for each element of the first input and <see cref="ICoMapFunction{TInput1,TInput2,TOutput}.Map2"/> for each element of the second input.
 /// Each CoMapFunction call returns exactly one element.
 /// </summary>
 /// <param name="coFlatMapper">The CoMapFunction used to jointly transform the two input DataStreams</param>
 /// <param name="outputType"><see cref="TypeInformation{TType}"/> for the result type of the function.</param>
 /// <returns>The transformed <see cref="DataStream{TElement}"/></returns>
 public SingleOutputStreamOperator <TOutput> FlatMap <TOutput>(ICoFlatMapFunction <TInput1, TInput2, TOutput> coFlatMapper,
                                                               TypeInformation <TOutput> outputType)
 {
     return(null);
 }
Пример #2
0
 /// <summary>
 /// Applies a CoFlatMap transformation on a <see cref="ConnectedStreams{IN1,IN2}"/> and maps the output to a common type. The transformation calls a <see cref="ICoMapFunction{TInput1,TInput2,TOutput}.Map1"/> for each element of the first input and <see cref="ICoMapFunction{TInput1,TInput2,TOutput}.Map2"/> for each element of the second input.
 /// Each CoMapFunction call returns exactly one element.
 /// </summary>
 /// <param name="coFlatMapper">The CoMapFunction used to jointly transform the two input DataStreams</param>
 /// <returns>The transformed <see cref="DataStream{TElement}"/></returns>
 public SingleOutputStreamOperator <TOutput> FlatMap <TOutput>(ICoFlatMapFunction <TInput1, TInput2, TOutput> coFlatMapper)
 {
     return(null);
 }