|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.mapred.FileInputFormat<AvroWrapper<Utf8>,NullWritable>
org.apache.avro.mapred.AvroUtf8InputFormat
public class AvroUtf8InputFormat
An InputFormat for text files.
Each line is a Utf8 key; values are null.
| Field Summary |
|---|
| Fields inherited from class org.apache.hadoop.mapred.FileInputFormat |
|---|
LOG |
| Constructor Summary | |
|---|---|
AvroUtf8InputFormat()
|
|
| Method Summary | |
|---|---|
void |
configure(org.apache.hadoop.mapred.JobConf conf)
|
org.apache.hadoop.mapred.RecordReader<AvroWrapper<Utf8>,NullWritable> |
getRecordReader(org.apache.hadoop.mapred.InputSplit split,
org.apache.hadoop.mapred.JobConf job,
org.apache.hadoop.mapred.Reporter reporter)
|
protected boolean |
isSplitable(FileSystem fs,
Path file)
|
| Methods inherited from class org.apache.hadoop.mapred.FileInputFormat |
|---|
addInputPath, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getSplitHosts, getSplits, listStatus, setInputPathFilter, setInputPaths, setInputPaths, setMinSplitSize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AvroUtf8InputFormat()
| Method Detail |
|---|
public void configure(org.apache.hadoop.mapred.JobConf conf)
configure in interface org.apache.hadoop.mapred.JobConfigurable
protected boolean isSplitable(FileSystem fs,
Path file)
isSplitable in class org.apache.hadoop.mapred.FileInputFormat<AvroWrapper<Utf8>,NullWritable>
public org.apache.hadoop.mapred.RecordReader<AvroWrapper<Utf8>,NullWritable> getRecordReader(org.apache.hadoop.mapred.InputSplit split,
org.apache.hadoop.mapred.JobConf job,
org.apache.hadoop.mapred.Reporter reporter)
throws IOException
getRecordReader in interface org.apache.hadoop.mapred.InputFormat<AvroWrapper<Utf8>,NullWritable>getRecordReader in class org.apache.hadoop.mapred.FileInputFormat<AvroWrapper<Utf8>,NullWritable>IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||