Class TwoInputOperator<IN1,IN2,OUT,O extends TwoInputOperator<IN1,IN2,OUT,O>>
- java.lang.Object
-
- org.apache.flink.api.java.DataSet<OUT>
-
- org.apache.flink.api.java.operators.Operator<OUT,O>
-
- org.apache.flink.api.java.operators.TwoInputOperator<IN1,IN2,OUT,O>
-
- Type Parameters:
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.
- Direct Known Subclasses:
TwoInputUdfOperator,UnionOperator
@Deprecated @Public public abstract class TwoInputOperator<IN1,IN2,OUT,O extends TwoInputOperator<IN1,IN2,OUT,O>> extends Operator<OUT,O>
Deprecated.All Flink DataSet APIs are deprecated since Flink 1.18 and will be removed in a future Flink major version. You can still build your application in DataSet, but you should move to either the DataStream and/or Table API.Base class for operations that operates on two input data sets.
-
-
Field Summary
-
Fields inherited from class org.apache.flink.api.java.operators.Operator
minResources, name, parallelism, preferredResources
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DataSet<IN1>getInput1()Deprecated.Gets the data set that this operation uses as its first input.org.apache.flink.api.common.typeinfo.TypeInformation<IN1>getInput1Type()Deprecated.Gets the type information of the data type of the first input data set.DataSet<IN2>getInput2()Deprecated.Gets the data set that this operation uses as its second input.org.apache.flink.api.common.typeinfo.TypeInformation<IN2>getInput2Type()Deprecated.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)Deprecated.Translates this java API operator into a common API operator with two inputs.-
Methods inherited from class org.apache.flink.api.java.operators.Operator
getMinResources, getName, getParallelism, getPreferredResources, getResultType, name, setParallelism
-
Methods inherited from class org.apache.flink.api.java.DataSet
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
-
-
-
-
Method Detail
-
getInput1
public DataSet<IN1> getInput1()
Deprecated.Gets the data set that this operation uses as its first input.- Returns:
- The data set that this operation uses as its first input.
-
getInput2
public DataSet<IN2> getInput2()
Deprecated.Gets the data set that this operation uses as its second input.- Returns:
- The data set that this operation uses as its second input.
-
getInput1Type
public org.apache.flink.api.common.typeinfo.TypeInformation<IN1> getInput1Type()
Deprecated.Gets the type information of the data type of the first input data set. This method returns equivalent information asgetInput1().getType().- Returns:
- The first input data type.
-
getInput2Type
public org.apache.flink.api.common.typeinfo.TypeInformation<IN2> getInput2Type()
Deprecated.Gets the type information of the data type of the second input data set. This method returns equivalent information asgetInput2().getType().- Returns:
- The second input data type.
-
translateToDataFlow
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)
Deprecated.Translates this java API operator into a common API operator with two inputs.- Parameters:
input1- The first input of the operation, as a common API operator.input2- The second input of the operation, as a common API operator.- Returns:
- The created common API operator.
-
-