public static class DistSum.MapSide.SummingMapper extends Mapper<NullWritable,SummationWritable,NullWritable,TaskResult>
Mapper.Context
Constructor and Description |
---|
DistSum.MapSide.SummingMapper() |
Modifier and Type | Method and Description |
---|---|
protected void |
map(NullWritable nw,
SummationWritable sigma,
Mapper.Context context)
Called once for each key/value pair in the input split.
|
protected void map(NullWritable nw, SummationWritable sigma, Mapper.Context context) throws IOException, InterruptedException
Mapper
map
in class Mapper<NullWritable,SummationWritable,NullWritable,TaskResult>
IOException
InterruptedException
Copyright © 2013 Apache Software Foundation. All rights reserved.