Provides an implementation of a common record reader for all MapReduce jobs in the distributed application. More...
Inherits RecordReader< LongWritable, Record >.
Public Member Functions | |
CustomRecordReader (JobConf job, FileSplit split) throws IOException | |
void | close () throws IOException |
LongWritable | createKey () |
Record | createValue () |
long | getPos () throws IOException |
float | getProgress () throws IOException |
boolean | next (LongWritable key, Record record) throws IOException |
Provides an implementation of a common record reader for all MapReduce jobs in the distributed application.
Each record has a fixed size, defined in Record.