public class AvroUtf8InputFormat extends FileInputFormat<AvroWrapper<Utf8>,NullWritable> implements JobConfigurable
InputFormat for text files.
 Each line is a Utf8 key; values are null.FileInputFormat.CounterLOG| Constructor and Description | 
|---|
| AvroUtf8InputFormat() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | configure(JobConf conf) | 
| RecordReader<AvroWrapper<Utf8>,NullWritable> | getRecordReader(InputSplit split,
               JobConf job,
               Reporter reporter) | 
| protected boolean | isSplitable(FileSystem fs,
           Path file) | 
addInputPath, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getSplitHosts, getSplits, listStatus, setInputPathFilter, setInputPaths, setInputPaths, setMinSplitSizepublic void configure(JobConf conf)
configure in interface JobConfigurableprotected boolean isSplitable(FileSystem fs, Path file)
isSplitable in class FileInputFormat<AvroWrapper<Utf8>,NullWritable>public RecordReader<AvroWrapper<Utf8>,NullWritable> getRecordReader(InputSplit split, JobConf job, Reporter reporter) throws IOException
getRecordReader in interface InputFormat<AvroWrapper<Utf8>,NullWritable>getRecordReader in class FileInputFormat<AvroWrapper<Utf8>,NullWritable>IOExceptionCopyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.