public class WholeCombineFileRecordReader
extends org.apache.hadoop.mapreduce.lib.input.CombineFileRecordReader<String,String>
implements org.apache.hadoop.conf.Configurable
RecordReader
for reading a single whole text file
out in a key-value pair, where the key is the file path and the value is the entire content of
the file.Constructor and Description |
---|
WholeCombineFileRecordReader(org.apache.hadoop.mapreduce.InputSplit split,
org.apache.hadoop.mapreduce.TaskAttemptContext context) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.conf.Configuration |
getConf() |
boolean |
initNextRecordReader() |
void |
setConf(org.apache.hadoop.conf.Configuration c) |
public WholeCombineFileRecordReader(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context)
public void setConf(org.apache.hadoop.conf.Configuration c)
setConf
in interface org.apache.hadoop.conf.Configurable
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
public boolean initNextRecordReader()
initNextRecordReader
in class org.apache.hadoop.mapreduce.lib.input.CombineFileRecordReader<String,String>