Interface ApplyPartitionFunction<OUT>
- All Superinterfaces:
org.apache.flink.api.common.functions.Function,Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
@Experimental
public interface ApplyPartitionFunction<OUT>
extends org.apache.flink.api.common.functions.Function
A function to be applied to all partitions .
-
Method Summary
Modifier and TypeMethodDescriptionvoidapply(Collector<OUT> collector, PartitionedContext<OUT> ctx) The actual method to be applied to each partition.
-
Method Details
-
apply
The actual method to be applied to each partition.- Parameters:
collector- to output data.ctx- runtime context in which this function is executed.- Throws:
Exception
-