/// <summary> /// Applies a CoMap 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> /// <typeparam name="TOutput"></typeparam> /// <param name="coMapper">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> Map <TOutput>(ICoMapFunction <TInput1, TInput2, TOutput> coMapper, TypeInformation <TOutput> outputType) { return(null); }
/// <summary> /// Applies a CoMap 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="coMapper">The CoMapFunction used to jointly transform the two input DataStreams</param> /// <returns>The transformed <see cref="DataStream{TElement}"/></returns> public SingleOutputStreamOperator <TOutput> Map <TOutput>(ICoMapFunction <TInput1, TInput2, TOutput> coMapper) { return(null); }