IN - The type of the data set projected by the operator.OUT - The type of data set that is the result of the projection.public class ProjectOperator<IN,OUT extends Tuple> extends SingleInputOperator<IN,OUT,ProjectOperator<IN,OUT>>
| Modifier and Type | Class and Description |
|---|---|
static class |
ProjectOperator.Projection<T> |
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
fields |
| Constructor and Description |
|---|
ProjectOperator(DataSet<IN> input,
int[] fields,
TupleTypeInfo<OUT> returnType) |
| 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.
|
getInput, 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, writeAsTextpublic ProjectOperator(DataSet<IN> input, int[] fields, TupleTypeInfo<OUT> returnType)
protected MapOperatorBase<IN,OUT,MapFunction<IN,OUT>> translateToDataFlow(Operator<IN> input)
SingleInputOperatortranslateToDataFlow in class SingleInputOperator<IN,OUT extends Tuple,ProjectOperator<IN,OUT extends Tuple>>input - The data flow operator that produces this operation's input data.Copyright © 2014 The Apache Software Foundation. All rights reserved.