Package | Description |
---|---|
org.apache.flink.api.java | |
org.apache.flink.api.java.aggregation | |
org.apache.flink.api.java.operators |
Modifier and Type | Method and Description |
---|---|
AggregateOperator<T> |
DataSet.aggregate(Aggregations agg,
int field)
Applies an Aggregate transformation on a non-grouped
Tuple DataSet .Note: Only Tuple DataSets can be aggregated. The transformation applies a built-in Aggregation on a specified field
of a Tuple DataSet. |
Modifier and Type | Method and Description |
---|---|
static Aggregations |
Aggregations.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Aggregations[] |
Aggregations.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
AggregateOperator<T> |
UnsortedGrouping.aggregate(Aggregations agg,
int field)
Applies an Aggregate transformation on a grouped
Tuple DataSet .Note: Only Tuple DataSets can be aggregated. The transformation applies a built-in Aggregation on a specified field
of a Tuple group. |
AggregateOperator<IN> |
AggregateOperator.and(Aggregations function,
int field) |
Constructor and Description |
---|
AggregateOperator(DataSet<IN> input,
Aggregations function,
int field,
String aggregateLocationName)
Non grouped aggregation
|
AggregateOperator(Grouping<IN> input,
Aggregations function,
int field,
String aggregateLocationName)
Grouped aggregation
|
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.