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,
String unionLocationName)
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, clean, coGroup, cross, crossWithHuge, crossWithTiny, distinct, distinct, distinct, distinct, filter, first, flatMap, getExecutionEnvironment, getType, groupBy, groupBy, groupBy, iterate, iterateDelta, join, join, joinWithHuge, joinWithTiny, map, mapPartition, max, maxBy, min, minBy, output, partitionByHash, partitionByHash, partitionByHash, partitionCustom, partitionCustom, partitionCustom, print, printToErr, project, rebalance, reduce, reduceGroup, runOperation, sum, union, write, write, writeAsCsv, writeAsCsv, writeAsCsv, writeAsCsv, writeAsFormattedText, writeAsFormattedText, 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 © 2015 The Apache Software Foundation. All rights reserved.