public static class StreamJoinOperator.JoinWindow<I1,I2> extends Object implements TemporalWindow<StreamJoinOperator.JoinWindow<I1,I2>>
| Modifier and Type | Method and Description |
|---|---|
StreamJoinOperator.JoinWindow<I1,I2> |
every(long length)
Defines the slide interval for this temporal operator
|
StreamJoinOperator.JoinWindow<I1,I2> |
every(long length,
TimeUnit timeUnit)
Defines the slide interval for this temporal operator
|
StreamJoinOperator.JoinPredicate<I1,I2> |
where(int... fields)
Continues a temporal Join transformation.
|
<K> StreamJoinOperator.JoinPredicate<I1,I2> |
where(org.apache.flink.api.java.functions.KeySelector<I1,K> keySelector)
Continues a temporal Join transformation and defines a
KeySelector function for the first join DataStream
. The KeySelector function is called for each element of the
first DataStream and extracts a single key value on which the
DataStream is joined. |
StreamJoinOperator.JoinPredicate<I1,I2> |
where(String... fields)
Continues a temporal join transformation.
|
public StreamJoinOperator.JoinPredicate<I1,I2> where(int... fields)
Tuple fields of the first join DataStream
that should be used as join keys.fields - The indexes of the other Tuple fields of the first join
DataStreams that should be used as keys.StreamJoinOperator.JoinPredicate.equalTo(int...) to continue the Join.public StreamJoinOperator.JoinPredicate<I1,I2> where(String... fields)
DataStream that should
be used as grouping keys. Fields are the names of member fields of
the underlying type of the data stream.fields - The fields of the first join DataStream that should be
used as keys.StreamJoinOperator.JoinPredicate.equalTo(int...) to continue the Join.public <K> StreamJoinOperator.JoinPredicate<I1,I2> where(org.apache.flink.api.java.functions.KeySelector<I1,K> keySelector)
KeySelector function for the first join DataStream
. The KeySelector function is called for each element of the
first DataStream and extracts a single key value on which the
DataStream is joined. keySelector - The KeySelector function which extracts the key values
from the DataStream on which it is joined.StreamJoinOperator.JoinPredicate.equalTo(int...) to continue the Join.public StreamJoinOperator.JoinWindow<I1,I2> every(long length, TimeUnit timeUnit)
TemporalWindowevery in interface TemporalWindow<StreamJoinOperator.JoinWindow<I1,I2>>length - Length of the windowtimeUnit - Unit of timepublic StreamJoinOperator.JoinWindow<I1,I2> every(long length)
TemporalWindowevery in interface TemporalWindow<StreamJoinOperator.JoinWindow<I1,I2>>length - Length of the windowCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.