KEY
- the key typeVALUE
- the value typepublic abstract class SegmentedCombiner<KEY extends SegmentedWritable,VALUE extends SegmentedWritable>
extends org.apache.hadoop.mapreduce.Reducer<KEY,VALUE,KEY,VALUE>
SegmentedWritable
as it key/value.Modifier and Type | Field and Description |
---|---|
static String |
GET_RENDEZVOUS
The method name of
getRendezvous(SegmentedWritable) . |
Constructor and Description |
---|
SegmentedCombiner() |
Modifier and Type | Method and Description |
---|---|
protected abstract Rendezvous<VALUE> |
getRendezvous(KEY key)
Returns the
Rendezvous object for processing the target segment. |
protected void |
reduce(KEY key,
Iterable<VALUE> values,
org.apache.hadoop.mapreduce.Reducer.Context context) |
public static final String GET_RENDEZVOUS
getRendezvous(SegmentedWritable)
.protected abstract Rendezvous<VALUE> getRendezvous(KEY key)
Rendezvous
object for processing the target segment.key
- the segment informationRendezvous
objectprotected void reduce(KEY key, Iterable<VALUE> values, org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException
reduce
in class org.apache.hadoop.mapreduce.Reducer<KEY extends SegmentedWritable,VALUE extends SegmentedWritable,KEY extends SegmentedWritable,VALUE extends SegmentedWritable>
IOException
InterruptedException
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.