public class JoinOperatorSetsBase.JoinOperatorSetsPredicateBase extends Object
DataSet by calling
equalTo(int...) or
equalTo(KeySelector).| Modifier | Constructor and Description |
|---|---|
protected |
JoinOperatorSetsBase.JoinOperatorSetsPredicateBase(Keys<I1> keys1) |
| Modifier and Type | Method and Description |
|---|---|
protected JoinOperator.DefaultJoin<I1,I2> |
createDefaultJoin(Keys<I2> keys2) |
protected JoinFunctionAssigner<I1,I2> |
createJoinFunctionAssigner(Keys<I2> keys2) |
JoinFunctionAssigner<I1,I2> |
equalTo(int... fields)
Continues a Join transformation and defines the
Tuple fields of the second join
DataSet that should be used as join keys.Note: Fields can only be selected as join keys on Tuple DataSets. The resulting JoinFunctionAssigner needs to be finished by providing a
JoinFunction by calling JoinFunctionAssigner.with(JoinFunction) |
<K> JoinFunctionAssigner<I1,I2> |
equalTo(KeySelector<I2,K> keySelector)
Continues a Join transformation and defines a
KeySelector function for the second join DataSet.The KeySelector function is called for each element of the second DataSet and extracts a single key value on which the DataSet is joined. |
JoinFunctionAssigner<I1,I2> |
equalTo(String... fields)
Continues a Join transformation and defines the fields of the second join
DataSet that should be used as join keys.The resulting JoinFunctionAssigner needs to be finished by providing a
JoinFunction by calling JoinFunctionAssigner.with(JoinFunction) |
public JoinFunctionAssigner<I1,I2> equalTo(int... fields)
Tuple fields of the second join
DataSet that should be used as join keys.JoinFunctionAssigner needs to be finished by providing a
JoinFunction by calling JoinFunctionAssigner.with(JoinFunction)fields - The indexes of the Tuple fields of the second join DataSet that should be used as keys.public JoinFunctionAssigner<I1,I2> equalTo(String... fields)
DataSet that should be used as join keys.JoinFunctionAssigner needs to be finished by providing a
JoinFunction by calling JoinFunctionAssigner.with(JoinFunction)fields - The fields of the second join DataSet that should be used as keys.public <K> JoinFunctionAssigner<I1,I2> equalTo(KeySelector<I2,K> keySelector)
KeySelector function for the second join DataSet.JoinFunctionAssigner needs to be finished by providing a
JoinFunction by calling JoinFunctionAssigner.with(JoinFunction)keySelector - The KeySelector function which extracts the key values from the second DataSet on which it is joined.protected JoinFunctionAssigner<I1,I2> createJoinFunctionAssigner(Keys<I2> keys2)
protected JoinOperator.DefaultJoin<I1,I2> createDefaultJoin(Keys<I2> keys2)
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.