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
DataSet
by calling
where(int...)
or
where(KeySelector)
.Modifier and Type | Class and Description |
---|---|
class |
JoinOperatorSetsBase.JoinOperatorSetsPredicateBase
Intermediate step of a Join transformation.
|
Modifier and Type | Field and Description |
---|---|
protected DataSet<I1> |
input1 |
protected DataSet<I2> |
input2 |
protected JoinOperatorBase.JoinHint |
joinHint |
protected JoinType |
joinType |
Constructor and Description |
---|
JoinOperatorSetsBase(DataSet<I1> input1,
DataSet<I2> input2) |
JoinOperatorSetsBase(DataSet<I1> input1,
DataSet<I2> input2,
JoinOperatorBase.JoinHint hint) |
JoinOperatorSetsBase(DataSet<I1> input1,
DataSet<I2> input2,
JoinOperatorBase.JoinHint hint,
JoinType type) |
Modifier and Type | Method and Description |
---|---|
JoinOperatorSetsBase.JoinOperatorSetsPredicateBase |
where(int... fields)
Continues a Join transformation.
|
<K> JoinOperatorSetsBase.JoinOperatorSetsPredicateBase |
where(KeySelector<I1,K> keySelector)
Continues a Join transformation and defines a
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. |
JoinOperatorSetsBase.JoinOperatorSetsPredicateBase |
where(String... fields)
Continues a Join transformation.
|
protected final JoinOperatorBase.JoinHint joinHint
protected final JoinType joinType
public JoinOperatorSetsBase(DataSet<I1> input1, DataSet<I2> input2, JoinOperatorBase.JoinHint hint)
public JoinOperatorSetsBase.JoinOperatorSetsPredicateBase where(int... fields)
Tuple
fields of the first join DataSet
that should be used as join keys.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
,
DataSet
public JoinOperatorSetsBase.JoinOperatorSetsPredicateBase where(String... fields)
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
,
DataSet
public <K> JoinOperatorSetsBase.JoinOperatorSetsPredicateBase where(KeySelector<I1,K> keySelector)
KeySelector
function for the first join DataSet
.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
,
DataSet
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.