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 static final class JoinOperator.DefaultJoin<I1,I2> extends JoinOperator.EquiJoin<I1,I2,Tuple2<I1,I2>>
JoinOperator.DefaultFlatJoinFunction<T1,T2>, JoinOperator.DefaultJoin<I1,I2>, JoinOperator.EquiJoin<I1,I2,OUT>, JoinOperator.JoinHint, JoinOperator.JoinOperatorSets<I1,I2>, JoinOperator.JoinProjection<I1,I2>, JoinOperator.LeftSemiFlatJoinFunction<T1,T2>, JoinOperator.ProjectFlatJoinFunction<T1,T2,R extends Tuple>, JoinOperator.ProjectJoin<I1,I2,OUT extends Tuple>, JoinOperator.RightSemiFlatJoinFunction<T1,T2>| Modifier | Constructor and Description |
|---|---|
protected |
JoinOperator.DefaultJoin(DataSet<I1> input1,
DataSet<I2> input2,
Keys<I1> keys1,
Keys<I2> keys2,
JoinOperator.JoinHint hint) |
| Modifier and Type | Method and Description |
|---|---|
JoinOperator.JoinProjection<I1,I2> |
projectFirst(int... firstFieldIndexes)
|
JoinOperator.JoinProjection<I1,I2> |
projectSecond(int... secondFieldIndexes)
|
<R> JoinOperator.EquiJoin<I1,I2,R> |
with(FlatJoinFunction<I1,I2,R> function)
Finalizes a Join transformation by applying a
RichFlatJoinFunction to each pair of joined elements.Each JoinFunction call returns exactly one element. |
<R> JoinOperator.EquiJoin<I1,I2,R> |
with(JoinFunction<I1,I2,R> function) |
generateProjectionProperties, translateToDataFlowgetJoinHint, getKeys1, getKeys2extractSemanticAnnotationsFromUdf, getBroadcastSets, getParameters, getSematicProperties, setSemanticProperties, withBroadcastSet, withConstantSetFirst, withConstantSetSecond, withParametersgetInput1, getInput1Type, getInput2, getInput2TypegetName, getParallelism, getResultType, name, setParallelismaggregate, checkSameExecutionContext, coGroup, cross, crossWithHuge, crossWithTiny, distinct, distinct, distinct, filter, flatMap, getExecutionEnvironment, getType, groupBy, groupBy, iterate, iterateDelta, join, joinWithHuge, joinWithTiny, map, max, min, output, print, printToErr, project, reduce, reduceGroup, runOperation, sum, union, write, write, writeAsCsv, writeAsCsv, writeAsCsv, writeAsText, writeAsTextpublic <R> JoinOperator.EquiJoin<I1,I2,R> with(FlatJoinFunction<I1,I2,R> function)
RichFlatJoinFunction to each pair of joined elements.function - The JoinFunction that is called for each pair of joined elements.RichFlatJoinFunction,
JoinOperator.EquiJoin,
DataSetpublic <R> JoinOperator.EquiJoin<I1,I2,R> with(JoinFunction<I1,I2,R> function)
public JoinOperator.JoinProjection<I1,I2> projectFirst(int... firstFieldIndexes)
Tuple DataSet, fields can be selected by their index.
If the first join input is not a Tuple DataSet, no parameters should be passed.JoinOperator.JoinProjection.projectFirst(int...) and
JoinOperator.JoinProjection.projectSecond(int...).firstFieldIndexes - If the first input is a Tuple DataSet, the indexes of the selected fields.
For a non-Tuple DataSet, do not provide parameters.
The order of fields in the output tuple is defined by to the order of field indexes.JoinOperator.ProjectJoin to complete the
Join transformation by calling the corresponding types() function.Tuple,
DataSet,
JoinOperator.JoinProjection,
JoinOperator.ProjectJoinpublic JoinOperator.JoinProjection<I1,I2> projectSecond(int... secondFieldIndexes)
Tuple DataSet, fields can be selected by their index.
If the second join input is not a Tuple DataSet, no parameters should be passed.JoinOperator.JoinProjection.projectFirst(int...) and
JoinOperator.JoinProjection.projectSecond(int...).secondFieldIndexes - If the second input is a Tuple DataSet, the indexes of the selected fields.
For a non-Tuple DataSet, do not provide parameters.
The order of fields in the output tuple is defined by to the order of field indexes.JoinOperator.ProjectJoin to complete the
Join transformation by calling the corresponding types() function.Tuple,
DataSet,
JoinOperator.JoinProjection,
JoinOperator.ProjectJoinCopyright © 2014 The Apache Software Foundation. All rights reserved.