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 MapFunction<IN,OUT> |
function |
| Constructor and Description |
|---|
MapOperator(DataSet<IN> input,
MapFunction<IN,OUT> function) |
| 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, getSematicProperties, setSemanticProperties, withBroadcastSet, withConstantSet, withParametersgetInput, getInputTypegetName, getParallelism, getResultType, name, setParallelismaggregate, checkSameExecutionContext, coGroup, cross, crossWithHuge, crossWithTiny, distinct, distinct, distinct, filter, flatMap, getExecutionEnvironment, getType, groupBy, groupBy, iterate, iterateDelta, join, joinWithHuge, joinWithTiny, map, max, min, output, print, printToErr, project, reduce, reduceGroup, runOperation, sum, union, write, write, writeAsCsv, writeAsCsv, writeAsCsv, writeAsText, writeAsTextprotected final MapFunction<IN,OUT> function
public MapOperator(DataSet<IN> input, MapFunction<IN,OUT> function)
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 © 2014 The Apache Software Foundation. All rights reserved.