| Package | Description |
|---|---|
| org.apache.flink.api.java | |
| org.apache.flink.api.java.operators |
| Modifier and Type | Method and Description |
|---|---|
ReduceOperator<T> |
DataSet.reduce(ReduceFunction<T> reducer)
Applies a Reduce transformation on a non-grouped
DataSet.The transformation consecutively calls a RichReduceFunction
until only a single element remains which is the result of the transformation. |
| Modifier and Type | Method and Description |
|---|---|
ReduceOperator<T> |
UnsortedGrouping.reduce(ReduceFunction<T> reducer)
Applies a Reduce transformation on a grouped
DataSet.For each group, the transformation consecutively calls a RichReduceFunction
until only a single element for each group remains. |
Copyright © 2014 The Apache Software Foundation. All rights reserved.