org.apache.hadoop.examples.pi
Class DistSum.ReduceSide.SummationInputFormat
java.lang.Object
org.apache.hadoop.mapreduce.InputFormat<org.apache.hadoop.io.NullWritable,SummationWritable>
org.apache.hadoop.examples.pi.DistSum.Machine.AbstractInputFormat
org.apache.hadoop.examples.pi.DistSum.ReduceSide.SummationInputFormat
- Enclosing class:
- DistSum.ReduceSide
public static class DistSum.ReduceSide.SummationInputFormat
- extends DistSum.Machine.AbstractInputFormat
An InputFormat which returns a single summation.
|
Method Summary |
List<org.apache.hadoop.mapreduce.InputSplit> |
getSplits(org.apache.hadoop.mapreduce.JobContext context)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DistSum.ReduceSide.SummationInputFormat
public DistSum.ReduceSide.SummationInputFormat()
getSplits
public List<org.apache.hadoop.mapreduce.InputSplit> getSplits(org.apache.hadoop.mapreduce.JobContext context)
- Specified by:
getSplits in class org.apache.hadoop.mapreduce.InputFormat<org.apache.hadoop.io.NullWritable,SummationWritable>
- Returns:
- a list containing a single split of summation
Copyright © 2013 Apache Software Foundation. All Rights Reserved.