T
- The type of the two input data sets and the result data set@Public public class UnionOperator<T> extends TwoInputOperator<T,T,T,UnionOperator<T>>
name, parallelism
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, getInput2Type
getName, getParallelism, getResultType, name, setParallelism
aggregate, checkSameExecutionContext, clean, coGroup, collect, combineGroup, count, cross, crossWithHuge, crossWithTiny, distinct, distinct, distinct, distinct, fillInType, filter, first, flatMap, fullOuterJoin, fullOuterJoin, getExecutionEnvironment, getType, groupBy, groupBy, groupBy, iterate, iterateDelta, join, join, joinWithHuge, joinWithTiny, leftOuterJoin, leftOuterJoin, map, mapPartition, max, maxBy, min, minBy, output, partitionByHash, partitionByHash, partitionByHash, partitionByRange, partitionByRange, partitionByRange, partitionCustom, partitionCustom, partitionCustom, print, print, printOnTaskManager, printToErr, printToErr, project, rebalance, reduce, reduceGroup, rightOuterJoin, rightOuterJoin, runOperation, sortPartition, sortPartition, sortPartition, sum, union, write, write, writeAsCsv, writeAsCsv, writeAsCsv, writeAsCsv, writeAsFormattedText, writeAsFormattedText, writeAsText, writeAsText
protected 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–2017 The Apache Software Foundation. All rights reserved.