@FunctionalInterface @Experimental public interface TwoOutputApplyPartitionFunction<OUT1,OUT2> extends org.apache.flink.api.common.functions.Function
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Collector<OUT1> firstOutput,
Collector<OUT2> secondOutput,
PartitionedContext ctx)
The actual method to be applied to each partition.
|
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–2025 The Apache Software Foundation. All rights reserved.