public static class StreamJoinOperator.JoinPredicate<I1,I2> extends Object
DataStream by calling equalTo(int...)| Modifier and Type | Method and Description |
|---|---|
StreamJoinOperator.JoinedStream<I1,I2> |
equalTo(int... fields)
Creates a temporal Join transformation and defines the
Tuple
fields of the second join DataStream that should be used as
join keys. |
<K> StreamJoinOperator.JoinedStream<I1,I2> |
equalTo(org.apache.flink.api.java.functions.KeySelector<I2,K> keySelector)
Creates a temporal Join transformation and defines a
KeySelector function for the second join DataStream
. The KeySelector function is called for each element of the
second DataStream and extracts a single key value on which the
DataStream is joined. |
StreamJoinOperator.JoinedStream<I1,I2> |
equalTo(String... fields)
Creates a temporal Join transformation and defines the fields of the
second join
DataStream that should be used as join keys. |
public StreamJoinOperator.JoinedStream<I1,I2> equalTo(int... fields)
Tuple
fields of the second join DataStream that should be used as
join keys.StreamJoinOperator.JoinedStream.with(JoinFunction)fields - The indexes of the Tuple fields of the second join
DataStream that should be used as keys.StreamJoinOperator.JoinedStream.with(org.apache.flink.api.common.functions.JoinFunction<I1, I2, OUT>) to
apply a custom wrappingpublic StreamJoinOperator.JoinedStream<I1,I2> equalTo(String... fields)
DataStream that should be used as join keys.
The resulting operator wraps each pair of joining elements in a
Tuple2StreamJoinOperator.JoinedStream.with(JoinFunction)fields - The fields of the second join DataStream that should be
used as keys.StreamJoinOperator.JoinedStream.with(org.apache.flink.api.common.functions.JoinFunction<I1, I2, OUT>) to
apply a custom wrappingpublic <K> StreamJoinOperator.JoinedStream<I1,I2> equalTo(org.apache.flink.api.java.functions.KeySelector<I2,K> keySelector)
KeySelector function for the second join DataStream
. The KeySelector function is called for each element of the
second DataStream and extracts a single key value on which the
DataStream is joined. The resulting operator wraps each pair of
joining elements in a Tuple2StreamJoinOperator.JoinedStream.with(JoinFunction)keySelector - The KeySelector function which extracts the key values
from the second DataStream on which it is joined.StreamJoinOperator.JoinedStream.with(org.apache.flink.api.common.functions.JoinFunction<I1, I2, OUT>) to
apply a custom wrappingCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.