Package | Description |
---|---|
org.apache.flink.api.java | |
org.apache.flink.api.java.aggregation | |
org.apache.flink.api.java.operators | |
org.apache.flink.api.scala | |
org.apache.flink.api.scala.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
|
Modifier and Type | Method and Description |
---|---|
AggregateDataSet<T> |
GroupedDataSet.aggregate(Aggregations agg,
int field)
Creates a new
DataSet by aggregating the specified field using the given aggregation
function. |
AggregateDataSet<T> |
DataSet.aggregate(Aggregations agg,
int field)
Creates a new
DataSet by aggregating the specified tuple field using the given aggregation
function. |
AggregateDataSet<T> |
GroupedDataSet.aggregate(Aggregations agg,
String field)
Creates a new
DataSet by aggregating the specified tuple field using the given aggregation
function. |
AggregateDataSet<T> |
DataSet.aggregate(Aggregations agg,
String field)
Creates a new
DataSet by aggregating the specified field using the given aggregation
function. |
AggregateDataSet<T> |
AggregateDataSet.and(Aggregations agg,
int field)
Adds the given aggregation on the given field to the previous aggregation operation.
|
AggregateDataSet<T> |
AggregateDataSet.and(Aggregations agg,
String field)
Adds the given aggregation on the given field to the previous aggregation operation.
|
Modifier and Type | Method and Description |
---|---|
ScalaAggregateOperator<IN> |
ScalaAggregateOperator.and(Aggregations function,
int field) |
Constructor and Description |
---|
ScalaAggregateOperator(DataSet<IN> input,
Aggregations function,
int field)
Non grouped aggregation
|
ScalaAggregateOperator(Grouping<IN> input,
Aggregations function,
int field)
Grouped aggregation
|
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.