KEYIN
- The type of the input key.VALUEIN
- The type of the input value.KEYOUT
- The type of the output key.@InterfaceAudience.Public @InterfaceStability.Stable public abstract class TableReducer<KEYIN,VALUEIN,KEYOUT> extends <any>
Reducer
class to add the required key and
value input/output classes. While the input key and value as well as the
output key can be anything handed in from the previous map phase the output
value must be either a Put
or a Delete
instance when
using the TableOutputFormat
class.
This class is extended by IdentityTableReducer
but can also be
subclassed to implement similar features or any custom code needed. It has
the advantage to enforce the output value to a specific basic type.
org.apache.hadoop.mapreduce.Reducer