K
- type of keys formally (but not actually) accepted by this reducerV
- type of values formally (but not actually) accepted by this reducerO
- type of output formally (but not actually) emitted by this reducer\MapJob
instead.@Deprecated public class NoReducer<K,V,O> extends Reducer<K,V,O>
Constructor and Description |
---|
NoReducer()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static <K,V,O> NoReducer<K,V,O> |
create()
Deprecated.
|
void |
reduce(K key,
ReducerInput<V> values)
Deprecated.
Processes the values for a given key, using the context returned by
Worker.getContext() to emit output to the Output of the MapReduce. |
allowSliceRetry, beginShard, beginSlice, endShard, endSlice, estimateMemoryRequirement, getContext, setContext
public static <K,V,O> NoReducer<K,V,O> create()
public void reduce(K key, ReducerInput<V> values)
Reducer
Worker.getContext()
to emit output to the Output
of the MapReduce.
values
enumerates all values that the map phase produced for the
key key
. It will always contain at least one value.Copyright © 2015 Google. All rights reserved.