Interface JoinFunction<IN1,IN2,OUT>
-
- Type Parameters:
IN1- the type of the first input recordIN2- the type of the second input recordOUT- the type of the output record
- 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 JoinFunction<IN1,IN2,OUT> extends org.apache.flink.api.common.functions.Function
A functional interface that defines a join operation between two input records of typesIN1andIN2. Note that this is specifically used in non-broadcast joins.This interface is used to process a pair of records from two different data streams and produce an output record of type
OUT. Implementations of this interface can be used to define custom join logic in stream processing frameworks.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprocessRecord(IN1 leftRecord, IN2 rightRecord, Collector<OUT> output, RuntimeContext ctx)
-