org.apache.hadoop.hive.ql.io.avro
Class AvroContainerInputFormat

java.lang.Object
  extended by org.apache.hadoop.mapred.FileInputFormat<org.apache.hadoop.io.NullWritable,AvroGenericRecordWritable>
      extended by 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


Field Summary
protected  org.apache.hadoop.mapred.JobConf jobConf
           
 
Fields inherited from class org.apache.hadoop.mapred.FileInputFormat
LOG
 
Constructor Summary
AvroContainerInputFormat()
           
 
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
 

Field Detail

jobConf

protected org.apache.hadoop.mapred.JobConf jobConf
Constructor Detail

AvroContainerInputFormat

public AvroContainerInputFormat()
Method Detail

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 © 2011 The Apache Software Foundation