Class CellSortReducer
java.lang.Object
org.apache.hadoop.mapreduce.Reducer<ImmutableBytesWritable,Cell,ImmutableBytesWritable,Cell>
org.apache.hadoop.hbase.mapreduce.CellSortReducer
@Public
public class CellSortReducer
extends org.apache.hadoop.mapreduce.Reducer<ImmutableBytesWritable,Cell,ImmutableBytesWritable,Cell>
Emits sorted Cells. Reads in all Cells from passed Iterator, sorts them, then emits Cells in
sorted order. If lots of columns per row, it will use lots of memory sorting.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.Reducer
org.apache.hadoop.mapreduce.Reducer.Context
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
reduce
(ImmutableBytesWritable row, Iterable<Cell> kvs, org.apache.hadoop.mapreduce.Reducer<ImmutableBytesWritable, Cell, ImmutableBytesWritable, Cell>.org.apache.hadoop.mapreduce.Reducer.Context context) Methods inherited from class org.apache.hadoop.mapreduce.Reducer
cleanup, run, setup
-
Constructor Details
-
CellSortReducer
public CellSortReducer()
-
-
Method Details
-
reduce
protected void reduce(ImmutableBytesWritable row, Iterable<Cell> kvs, org.apache.hadoop.mapreduce.Reducer<ImmutableBytesWritable, Cell, throws IOException, InterruptedExceptionImmutableBytesWritable, Cell>.org.apache.hadoop.mapreduce.Reducer.Context context) - Overrides:
reduce
in classorg.apache.hadoop.mapreduce.Reducer<ImmutableBytesWritable,
Cell, ImmutableBytesWritable, Cell> - Throws:
IOException
InterruptedException
-