IN - The data type of the input data set.OUT - The data type of the returned data set.public abstract class SingleInputOperator<IN,OUT,O extends SingleInputOperator<IN,OUT,O>> extends Operator<OUT,O>
| 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 SingleInputOperator<?,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, 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 SingleInputOperator(DataSet<IN> input, TypeInformation<OUT> resultType)
public DataSet<IN> getInput()
public TypeInformation<IN> getInputType()
getInput().getType().protected abstract SingleInputOperator<?,OUT,?> translateToDataFlow(Operator<IN> input)
input - The data flow operator that produces this operation's input data.Copyright © 2015 The Apache Software Foundation. All rights reserved.