I1 - The type of the first input DataSet of the CoGroup transformation.I2 - The type of the second input DataSet of the CoGroup transformation.OUT - The type of the result of the CoGroup transformation.public class CoGroupOperator<I1,I2,OUT> extends TwoInputUdfOperator<I1,I2,OUT,CoGroupOperator<I1,I2,OUT>>
DataSet that is the result of a CoGroup transformation.DataSet| Modifier and Type | Class and Description |
|---|---|
static class |
CoGroupOperator.CoGroupOperatorSets<I1,I2>
Intermediate step of a CoGroup transformation.
|
| Modifier | Constructor and Description |
|---|---|
protected |
CoGroupOperator(DataSet<I1> input1,
DataSet<I2> input2,
Keys<I1> keys1,
Keys<I2> keys2,
CoGroupFunction<I1,I2,OUT> function,
TypeInformation<OUT> returnType) |
| Modifier and Type | Method and Description |
|---|---|
protected Keys<I1> |
getKeys1() |
protected Keys<I2> |
getKeys2() |
protected CoGroupOperatorBase<?,?,OUT,?> |
translateToDataFlow(Operator<I1> input1,
Operator<I2> input2)
Translates this java API operator into a common API operator with two inputs.
|
extractSemanticAnnotationsFromUdf, 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, writeAsTextprotected CoGroupOperatorBase<?,?,OUT,?> translateToDataFlow(Operator<I1> input1, Operator<I2> input2)
TwoInputOperatortranslateToDataFlow in class TwoInputOperator<I1,I2,OUT,CoGroupOperator<I1,I2,OUT>>input1 - The first input of the operation, as a common API operator.input2 - The second input of the operation, as a common API operator.Copyright © 2014 The Apache Software Foundation. All rights reserved.