T - The type of the two input data sets and the result data setpublic class UnionOperator<T> extends TwoInputOperator<T,T,T,UnionOperator<T>>
| Constructor and Description |
|---|
UnionOperator(DataSet<T> input1,
DataSet<T> input2)
Create an operator that produces the union of the two given data sets.
|
| Modifier and Type | Method and Description |
|---|---|
protected Union<T> |
translateToDataFlow(Operator<T> input1,
Operator<T> input2)
Returns the BinaryNodeTranslation of the Union.
|
getInput1, 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 Union<T> translateToDataFlow(Operator<T> input1, Operator<T> input2)
translateToDataFlow in class TwoInputOperator<T,T,T,UnionOperator<T>>input1 - The first input of the union, as a common API operator.input2 - The second input of the union, as a common API operator.Copyright © 2014 The Apache Software Foundation. All rights reserved.