org.apache.hadoop.examples.pi
Class DistSum.Machine.AbstractInputFormat
java.lang.Object
org.apache.hadoop.mapreduce.InputFormat<org.apache.hadoop.io.NullWritable,SummationWritable>
org.apache.hadoop.examples.pi.DistSum.Machine.AbstractInputFormat
- Direct Known Subclasses:
- DistSum.MapSide.PartitionInputFormat, DistSum.ReduceSide.SummationInputFormat
- Enclosing class:
- DistSum.Machine
public abstract static class DistSum.Machine.AbstractInputFormat
- extends org.apache.hadoop.mapreduce.InputFormat<org.apache.hadoop.io.NullWritable,SummationWritable>
An abstract InputFormat for the jobs
|
Method Summary |
org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,SummationWritable> |
createRecordReader(org.apache.hadoop.mapreduce.InputSplit generic,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
Specify how to read the records |
| Methods inherited from class org.apache.hadoop.mapreduce.InputFormat |
getSplits |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DistSum.Machine.AbstractInputFormat
public DistSum.Machine.AbstractInputFormat()
createRecordReader
public final org.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,SummationWritable> createRecordReader(org.apache.hadoop.mapreduce.InputSplit generic,
org.apache.hadoop.mapreduce.TaskAttemptContext context)
- Specify how to read the records
- Specified by:
createRecordReader in class org.apache.hadoop.mapreduce.InputFormat<org.apache.hadoop.io.NullWritable,SummationWritable>
Copyright © 2013 Apache Software Foundation. All Rights Reserved.