IN - The type of the data set consumed by the operator.OUT - The type of the data set created by the operator.public class MapOperator<IN,OUT> extends SingleInputUdfOperator<IN,OUT,MapOperator<IN,OUT>>
MapFunction| Modifier and Type | Field and Description |
|---|---|
protected String |
defaultName |
protected MapFunction<IN,OUT> |
function |
| Constructor and Description |
|---|
MapOperator(DataSet<IN> input,
TypeInformation<OUT> resultType,
MapFunction<IN,OUT> function,
String defaultName) |
| Modifier and Type | Method and Description |
|---|---|
protected MapOperatorBase<IN,OUT,MapFunction<IN,OUT>> |
translateToDataFlow(Operator<IN> input)
Translates this operation to a data flow operator of the common data flow API.
|
extractSemanticAnnotationsFromUdf, getBroadcastSets, getParameters, getSemanticProperties, setSemanticProperties, withBroadcastSet, withConstantSet, withParametersgetInput, getInputTypegetName, 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 final MapFunction<IN,OUT> function
protected final String defaultName
public MapOperator(DataSet<IN> input, TypeInformation<OUT> resultType, MapFunction<IN,OUT> function, String defaultName)
protected MapOperatorBase<IN,OUT,MapFunction<IN,OUT>> translateToDataFlow(Operator<IN> input)
SingleInputOperatortranslateToDataFlow in class SingleInputOperator<IN,OUT,MapOperator<IN,OUT>>input - The data flow operator that produces this operation's input data.Copyright © 2015 The Apache Software Foundation. All rights reserved.