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


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.mapred.FileInputFormat
org.apache.hadoop.mapred.FileInputFormat.Counter
 
Field Summary
 
Fields inherited from class org.apache.hadoop.mapred.FileInputFormat
INPUT_DIR_RECURSIVE, LOG, NUM_INPUT_FILES
 
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)
           
 
Methods inherited from class org.apache.hadoop.mapred.FileInputFormat
addInputPath, addInputPaths, getInputPathFilter, getInputPaths, getSplits, setInputPathFilter, setInputPaths, setInputPaths
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvroContainerInputFormat

public AvroContainerInputFormat()
Method Detail

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.