public interface Reducer
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
reduce(java.util.List<java.lang.Object> keys,
java.util.List<java.lang.Object> values,
boolean rereduce)
A "reduce" function called to summarize the results of a view.
|
java.lang.Object reduce(java.util.List<java.lang.Object> keys,
java.util.List<java.lang.Object> values,
boolean rereduce)
keys - An array of keys to be reduced (or null if this is a rereduce).values - A parallel array of values to be reduced, corresponding 1::1 with the keys.rereduce - true if the input values are the results of previous reductions.