Interface Reducer
public interface Reducer
Reducer for numeric values.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Field Summary
Fields -
Method Summary
-
Field Details
-
MAX
Reducer that returns MAX of two values. -
SUM
Reducer that returns SUM of two values.
-
-
Method Details
-
reduce
int reduce(int a, int b) Int values reducer. -
reduce
long reduce(long a, long b) Long values reducer. -
reduce
float reduce(float a, float b) Float values reducer. -
reduce
double reduce(double a, double b) Double values reducer.
-