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 class JoinOperatorSetsBase<I1,I2> extends Object
To continue the Join transformation, select the join key of the first input DataSet by calling
where(int...) or
where(KeySelector).
| 限定符和类型 | 类和说明 |
|---|---|
class |
JoinOperatorSetsBase.JoinOperatorSetsPredicateBase
Intermediate step of a Join transformation.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected DataSet<I1> |
input1 |
protected DataSet<I2> |
input2 |
protected org.apache.flink.api.common.operators.base.JoinOperatorBase.JoinHint |
joinHint |
protected JoinType |
joinType |
| 构造器和说明 |
|---|
JoinOperatorSetsBase(DataSet<I1> input1,
DataSet<I2> input2) |
JoinOperatorSetsBase(DataSet<I1> input1,
DataSet<I2> input2,
org.apache.flink.api.common.operators.base.JoinOperatorBase.JoinHint hint) |
JoinOperatorSetsBase(DataSet<I1> input1,
DataSet<I2> input2,
org.apache.flink.api.common.operators.base.JoinOperatorBase.JoinHint hint,
JoinType type) |
| 限定符和类型 | 方法和说明 |
|---|---|
JoinOperatorSetsBase.JoinOperatorSetsPredicateBase |
where(int... fields)
Continues a Join transformation.
|
<K> JoinOperatorSetsBase.JoinOperatorSetsPredicateBase |
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. |
JoinOperatorSetsBase.JoinOperatorSetsPredicateBase |
where(String... fields)
Continues a Join transformation.
|
protected final org.apache.flink.api.common.operators.base.JoinOperatorBase.JoinHint joinHint
protected final JoinType joinType
public JoinOperatorSetsBase(DataSet<I1> input1, DataSet<I2> input2, org.apache.flink.api.common.operators.base.JoinOperatorBase.JoinHint hint)
public JoinOperatorSetsBase.JoinOperatorSetsPredicateBase 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.
fields - The indexes of the other Tuple fields of the first join DataSets that should be used as keys.JoinOperatorSetsBase.JoinOperatorSetsPredicateBase.equalTo(int...) or
JoinOperatorSetsBase.JoinOperatorSetsPredicateBase.equalTo(KeySelector)
to continue the Join.Tuple,
DataSetpublic JoinOperatorSetsBase.JoinOperatorSetsPredicateBase 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.
fields - The fields of the first join DataSets that should be used as keys.JoinOperatorSetsBase.JoinOperatorSetsPredicateBase.equalTo(int...) or
JoinOperatorSetsBase.JoinOperatorSetsPredicateBase.equalTo(KeySelector)
to continue the Join.Tuple,
DataSetpublic <K> JoinOperatorSetsBase.JoinOperatorSetsPredicateBase 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.
keySelector - The KeySelector function which extracts the key values from the DataSet on which it is joined.JoinOperatorSetsBase.JoinOperatorSetsPredicateBase.equalTo(int...) or
JoinOperatorSetsBase.JoinOperatorSetsPredicateBase.equalTo(KeySelector)
to continue the Join.KeySelector,
DataSetCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.