Class AggregateOperator<IN>
- java.lang.Object
-
- org.apache.flink.api.java.DataSet<OUT>
-
- org.apache.flink.api.java.operators.Operator<OUT,O>
-
- org.apache.flink.api.java.operators.SingleInputOperator<IN,IN,AggregateOperator<IN>>
-
- org.apache.flink.api.java.operators.AggregateOperator<IN>
-
- Type Parameters:
IN- The type of the data set aggregated by the operator.
@Deprecated @Public public class AggregateOperator<IN> extends SingleInputOperator<IN,IN,AggregateOperator<IN>>
Deprecated.All Flink DataSet APIs are deprecated since Flink 1.18 and will be removed in a future Flink major version. You can still build your application in DataSet, but you should move to either the DataStream and/or Table API.This operator represents the application of a "aggregate" operation on a data set, and the result data set produced by the function.
-
-
Field Summary
-
Fields inherited from class org.apache.flink.api.java.operators.Operator
minResources, name, parallelism, preferredResources
-
-
Constructor Summary
Constructors Constructor Description AggregateOperator(DataSet<IN> input, Aggregations function, int field, String aggregateLocationName)Deprecated.Non grouped aggregation.AggregateOperator(Grouping<IN> input, Aggregations function, int field, String aggregateLocationName)Deprecated.Grouped aggregation.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AggregateOperator<IN>and(Aggregations function, int field)Deprecated.AggregateOperator<IN>andMax(int field)Deprecated.AggregateOperator<IN>andMin(int field)Deprecated.AggregateOperator<IN>andSum(int field)Deprecated.protected org.apache.flink.api.common.operators.base.GroupReduceOperatorBase<IN,IN,org.apache.flink.api.common.functions.GroupReduceFunction<IN,IN>>translateToDataFlow(org.apache.flink.api.common.operators.Operator<IN> input)Deprecated.Translates this operation to a data flow operator of the common data flow API.-
Methods inherited from class org.apache.flink.api.java.operators.SingleInputOperator
getInput, getInputType
-
Methods inherited from class org.apache.flink.api.java.operators.Operator
getMinResources, getName, getParallelism, getPreferredResources, getResultType, name, setParallelism
-
Methods inherited from class org.apache.flink.api.java.DataSet
aggregate, 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, writeAsText
-
-
-
-
Constructor Detail
-
AggregateOperator
public AggregateOperator(DataSet<IN> input, Aggregations function, int field, String aggregateLocationName)
Deprecated.Non grouped aggregation.
-
AggregateOperator
public AggregateOperator(Grouping<IN> input, Aggregations function, int field, String aggregateLocationName)
Deprecated.Grouped aggregation.- Parameters:
input-function-field-
-
-
Method Detail
-
and
public AggregateOperator<IN> and(Aggregations function, int field)
Deprecated.
-
andSum
public AggregateOperator<IN> andSum(int field)
Deprecated.
-
andMin
public AggregateOperator<IN> andMin(int field)
Deprecated.
-
andMax
public AggregateOperator<IN> andMax(int field)
Deprecated.
-
translateToDataFlow
@Internal protected org.apache.flink.api.common.operators.base.GroupReduceOperatorBase<IN,IN,org.apache.flink.api.common.functions.GroupReduceFunction<IN,IN>> translateToDataFlow(org.apache.flink.api.common.operators.Operator<IN> input)
Deprecated.Description copied from class:SingleInputOperatorTranslates this operation to a data flow operator of the common data flow API.- Specified by:
translateToDataFlowin classSingleInputOperator<IN,IN,AggregateOperator<IN>>- Parameters:
input- The data flow operator that produces this operation's input data.- Returns:
- The translated data flow operator.
-
-