IN1 - The data type of the first input data set.IN2 - The data type of the second input data set.OUT - The data type of the returned data set.@Public public abstract class TwoInputOperator<IN1,IN2,OUT,O extends TwoInputOperator<IN1,IN2,OUT,O>> extends Operator<OUT,O>
minResources, name, parallelism, preferredResources| Modifier | Constructor and Description |
|---|---|
protected |
TwoInputOperator(DataSet<IN1> input1,
DataSet<IN2> input2,
org.apache.flink.api.common.typeinfo.TypeInformation<OUT> resultType) |
| Modifier and Type | Method and Description |
|---|---|
DataSet<IN1> |
getInput1()
Gets the data set that this operation uses as its first input.
|
org.apache.flink.api.common.typeinfo.TypeInformation<IN1> |
getInput1Type()
Gets the type information of the data type of the first input data set.
|
DataSet<IN2> |
getInput2()
Gets the data set that this operation uses as its second input.
|
org.apache.flink.api.common.typeinfo.TypeInformation<IN2> |
getInput2Type()
Gets the type information of the data type of the second input data set.
|
protected abstract org.apache.flink.api.common.operators.Operator<OUT> |
translateToDataFlow(org.apache.flink.api.common.operators.Operator<IN1> input1,
org.apache.flink.api.common.operators.Operator<IN2> input2)
Translates this java API operator into a common API operator with two inputs.
|
getMinResources, getName, getParallelism, getPreferredResources, getResultType, name, setParallelismaggregate, 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, writeAsTextpublic DataSet<IN1> getInput1()
public DataSet<IN2> getInput2()
public org.apache.flink.api.common.typeinfo.TypeInformation<IN1> getInput1Type()
getInput1().getType().public org.apache.flink.api.common.typeinfo.TypeInformation<IN2> getInput2Type()
getInput2().getType().protected abstract org.apache.flink.api.common.operators.Operator<OUT> translateToDataFlow(org.apache.flink.api.common.operators.Operator<IN1> input1, org.apache.flink.api.common.operators.Operator<IN2> input2)
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–2021 The Apache Software Foundation. All rights reserved.