@FunctionalInterface @Experimental public interface TwoOutputApplyPartitionFunction<OUT1,OUT2> extends org.apache.flink.api.common.functions.Function
void apply(Collector<OUT1> firstOutput, Collector<OUT2> secondOutput, PartitionedContext ctx) throws Exception
firstOutput - to emit record to first output.secondOutput - to emit record to second output.ctx - runtime context in which this function is executed.ExceptionCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.