public abstract static class DistSum.Machine.AbstractInputFormat extends InputFormat<NullWritable,SummationWritable>
Constructor and Description |
---|
DistSum.Machine.AbstractInputFormat() |
Modifier and Type | Method and Description |
---|---|
RecordReader<NullWritable,SummationWritable> |
createRecordReader(InputSplit generic,
TaskAttemptContext context)
Specify how to read the records
|
getSplits
public final RecordReader<NullWritable,SummationWritable> createRecordReader(InputSplit generic, TaskAttemptContext context)
createRecordReader
in class InputFormat<NullWritable,SummationWritable>
generic
- the split to be readcontext
- the information about the taskCopyright © 2013 Apache Software Foundation. All rights reserved.