IN - The data type of the input data set.OUT - The data type of the returned data set.@Public public abstract class SingleInputOperator<IN,OUT,O extends SingleInputOperator<IN,OUT,O>> extends Operator<OUT,O>
name, parallelism| Modifier | Constructor and Description |
|---|---|
protected |
SingleInputOperator(DataSet<IN> input,
TypeInformation<OUT> resultType) |
| Modifier and Type | Method and Description |
|---|---|
DataSet<IN> |
getInput()
Gets the data set that this operation uses as its input.
|
TypeInformation<IN> |
getInputType()
Gets the type information of the data type of the input data set.
|
protected abstract Operator<OUT> |
translateToDataFlow(Operator<IN> input)
Translates this operation to a data flow operator of the common data flow API.
|
getName, getParallelism, 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, writeAsTextprotected SingleInputOperator(DataSet<IN> input, TypeInformation<OUT> resultType)
public DataSet<IN> getInput()
public TypeInformation<IN> getInputType()
getInput().getType().Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.