org.apache.hadoop.hive.ql.io.avro
Class AvroContainerInputFormat
java.lang.Object
org.apache.hadoop.mapred.FileInputFormat<org.apache.hadoop.io.NullWritable,AvroGenericRecordWritable>
org.apache.hadoop.hive.ql.io.avro.AvroContainerInputFormat
- All Implemented Interfaces:
- org.apache.hadoop.mapred.InputFormat<org.apache.hadoop.io.NullWritable,AvroGenericRecordWritable>, org.apache.hadoop.mapred.JobConfigurable
public class AvroContainerInputFormat
- extends org.apache.hadoop.mapred.FileInputFormat<org.apache.hadoop.io.NullWritable,AvroGenericRecordWritable>
- implements org.apache.hadoop.mapred.JobConfigurable
| Nested classes/interfaces inherited from class org.apache.hadoop.mapred.FileInputFormat |
org.apache.hadoop.mapred.FileInputFormat.Counter |
|
Field Summary |
protected org.apache.hadoop.mapred.JobConf |
jobConf
|
| Fields inherited from class org.apache.hadoop.mapred.FileInputFormat |
LOG |
|
Method Summary |
void |
configure(org.apache.hadoop.mapred.JobConf jobConf)
|
org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.NullWritable,AvroGenericRecordWritable> |
getRecordReader(org.apache.hadoop.mapred.InputSplit inputSplit,
org.apache.hadoop.mapred.JobConf jc,
org.apache.hadoop.mapred.Reporter reporter)
|
protected org.apache.hadoop.fs.FileStatus[] |
listStatus(org.apache.hadoop.mapred.JobConf job)
|
| Methods inherited from class org.apache.hadoop.mapred.FileInputFormat |
addInputPath, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getSplitHosts, getSplits, isSplitable, setInputPathFilter, setInputPaths, setInputPaths, setMinSplitSize |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jobConf
protected org.apache.hadoop.mapred.JobConf jobConf
AvroContainerInputFormat
public AvroContainerInputFormat()
listStatus
protected org.apache.hadoop.fs.FileStatus[] listStatus(org.apache.hadoop.mapred.JobConf job)
throws IOException
- Overrides:
listStatus in class org.apache.hadoop.mapred.FileInputFormat<org.apache.hadoop.io.NullWritable,AvroGenericRecordWritable>
- Throws:
IOException
getRecordReader
public org.apache.hadoop.mapred.RecordReader<org.apache.hadoop.io.NullWritable,AvroGenericRecordWritable> getRecordReader(org.apache.hadoop.mapred.InputSplit inputSplit,
org.apache.hadoop.mapred.JobConf jc,
org.apache.hadoop.mapred.Reporter reporter)
throws IOException
- Specified by:
getRecordReader in interface org.apache.hadoop.mapred.InputFormat<org.apache.hadoop.io.NullWritable,AvroGenericRecordWritable>- Specified by:
getRecordReader in class org.apache.hadoop.mapred.FileInputFormat<org.apache.hadoop.io.NullWritable,AvroGenericRecordWritable>
- Throws:
IOException
configure
public void configure(org.apache.hadoop.mapred.JobConf jobConf)
- Specified by:
configure in interface org.apache.hadoop.mapred.JobConfigurable
Copyright © 2014 The Apache Software Foundation. All rights reserved.