I1 - The type of the first input DataSet of the Join transformation.I2 - The type of the second input DataSet of the Join transformation.@Public public static final class JoinOperator.JoinOperatorSets<I1,I2> extends JoinOperatorSetsBase<I1,I2>
To continue the Join transformation, select the join key of the first input DataSet by calling
where(int...) or
where(org.apache.flink.api.java.functions.KeySelector).
| 限定符和类型 | 类和说明 |
|---|---|
class |
JoinOperator.JoinOperatorSets.JoinOperatorSetsPredicate
Intermediate step of a Join transformation.
|
JoinOperatorSetsBase.JoinOperatorSetsPredicateBaseinput1, input2, joinHint, joinType| 构造器和说明 |
|---|
JoinOperatorSets(DataSet<I1> input1,
DataSet<I2> input2) |
JoinOperatorSets(DataSet<I1> input1,
DataSet<I2> input2,
org.apache.flink.api.common.operators.base.JoinOperatorBase.JoinHint hint) |
| 限定符和类型 | 方法和说明 |
|---|---|
JoinOperator.JoinOperatorSets.JoinOperatorSetsPredicate |
where(int... fields)
Continues a Join transformation.
|
<K> JoinOperator.JoinOperatorSets.JoinOperatorSetsPredicate |
where(org.apache.flink.api.java.functions.KeySelector<I1,K> keySelector)
Continues a Join transformation and defines a
KeySelector function for the first join DataSet. |
JoinOperator.JoinOperatorSets.JoinOperatorSetsPredicate |
where(String... fields)
Continues a Join transformation.
|
public JoinOperator.JoinOperatorSets.JoinOperatorSetsPredicate where(int... fields)
Defines the Tuple fields of the first join DataSet that should be used as join keys.
Note: Fields can only be selected as join keys on Tuple DataSets.
where 在类中 JoinOperatorSetsBase<I1,I2>fields - The indexes of the other Tuple fields of the first join DataSets that should be used as keys.JoinOperator.JoinOperatorSets.JoinOperatorSetsPredicate.equalTo(int...) or
JoinOperator.JoinOperatorSets.JoinOperatorSetsPredicate.equalTo(KeySelector)
to continue the Join.Tuple,
DataSetpublic JoinOperator.JoinOperatorSets.JoinOperatorSetsPredicate where(String... fields)
Defines the fields of the first join DataSet that should be used as grouping keys. Fields
are the names of member fields of the underlying type of the data set.
where 在类中 JoinOperatorSetsBase<I1,I2>fields - The fields of the first join DataSets that should be used as keys.JoinOperator.JoinOperatorSets.JoinOperatorSetsPredicate.equalTo(int...) or
JoinOperator.JoinOperatorSets.JoinOperatorSetsPredicate.equalTo(KeySelector)
to continue the Join.Tuple,
DataSetpublic <K> JoinOperator.JoinOperatorSets.JoinOperatorSetsPredicate where(org.apache.flink.api.java.functions.KeySelector<I1,K> keySelector)
KeySelector function for the first join DataSet.
The KeySelector function is called for each element of the first DataSet and extracts a single key value on which the DataSet is joined.
where 在类中 JoinOperatorSetsBase<I1,I2>keySelector - The KeySelector function which extracts the key values from the DataSet on which it is joined.JoinOperator.JoinOperatorSets.JoinOperatorSetsPredicate.equalTo(int...) or
JoinOperator.JoinOperatorSets.JoinOperatorSetsPredicate.equalTo(KeySelector)
to continue the Join.KeySelector,
DataSetCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.