Interface MapReduce.ReduceEmitter<OK,OV>
-
- Type Parameters:
OK
- the key typeOV
- the value type
- All Known Implementing Classes:
TinkerReduceEmitter
public static interface MapReduce.ReduceEmitter<OK,OV>
The ReduceEmitter is used to emit key/value pairs from the combine() and reduce() stages of the MapReduce job. The implementation of ReduceEmitter is up to the vendor, not the developer.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
emit(OK key, OV value)
default void
emit(OV value)
A default method that assumes the key isMapReduce.NullObject
.
-
-
-
Method Detail
-
emit
default void emit(OV value)
A default method that assumes the key isMapReduce.NullObject
.- Parameters:
value
- the value to emit.
-
-