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 public class ProjectOperator<IN,OUT extends org.apache.flink.api.java.tuple.Tuple> extends SingleInputOperator<IN,OUT,ProjectOperator<IN,OUT>>
| Modifier and Type | Class and Description |
|---|---|
static class |
ProjectOperator.Projection<T>
A projection of
DataSet. |
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
fields |
minResources, name, parallelism, preferredResources| Constructor and Description |
|---|
ProjectOperator(DataSet<IN> input,
int[] fields,
org.apache.flink.api.java.typeutils.TupleTypeInfo<OUT> returnType) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.flink.api.common.operators.base.MapOperatorBase<IN,OUT,org.apache.flink.api.common.functions.MapFunction<IN,OUT>> |
translateToDataFlow(org.apache.flink.api.common.operators.Operator<IN> input)
Translates this operation to a data flow operator of the common data flow API.
|
<R extends org.apache.flink.api.java.tuple.Tuple> |
types(Class<?>... types)
Deprecated.
Deprecated method only kept for compatibility.
|
getInput, getInputTypegetMinResources, getName, getParallelism, getPreferredResources, 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 org.apache.flink.api.common.operators.base.MapOperatorBase<IN,OUT,org.apache.flink.api.common.functions.MapFunction<IN,OUT>> translateToDataFlow(org.apache.flink.api.common.operators.Operator<IN> input)
SingleInputOperatortranslateToDataFlow in class SingleInputOperator<IN,OUT extends org.apache.flink.api.java.tuple.Tuple,ProjectOperator<IN,OUT extends org.apache.flink.api.java.tuple.Tuple>>input - The data flow operator that produces this operation's input data.@Deprecated @PublicEvolving public <R extends org.apache.flink.api.java.tuple.Tuple> ProjectOperator<IN,R> types(Class<?>... types)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.