org.apache.avro.mapred
Class SequenceFileInputFormat<K,V>

java.lang.Object
  extended by org.apache.hadoop.mapred.FileInputFormat<AvroWrapper<Pair<K,V>>,NullWritable>
      extended by org.apache.avro.mapred.SequenceFileInputFormat<K,V>
All Implemented Interfaces:
InputFormat<AvroWrapper<Pair<K,V>>,NullWritable>

public class SequenceFileInputFormat<K,V>
extends FileInputFormat<AvroWrapper<Pair<K,V>>,NullWritable>

An InputFormat for sequence files.


Field Summary
 
Fields inherited from class org.apache.hadoop.mapred.FileInputFormat
LOG
 
Constructor Summary
SequenceFileInputFormat()
           
 
Method Summary
 RecordReader<AvroWrapper<Pair<K,V>>,NullWritable> getRecordReader(InputSplit split, JobConf job, Reporter reporter)
           
 
Methods inherited from class org.apache.hadoop.mapred.FileInputFormat
addInputPath, addInputPaths, computeSplitSize, getBlockIndex, getInputPathFilter, getInputPaths, getSplitHosts, getSplits, isSplitable, 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

SequenceFileInputFormat

public SequenceFileInputFormat()
Method Detail

getRecordReader

public RecordReader<AvroWrapper<Pair<K,V>>,NullWritable> getRecordReader(InputSplit split,
                                                                         JobConf job,
                                                                         Reporter reporter)
                                                                  throws IOException
Specified by:
getRecordReader in interface InputFormat<AvroWrapper<Pair<K,V>>,NullWritable>
Specified by:
getRecordReader in class FileInputFormat<AvroWrapper<Pair<K,V>>,NullWritable>
Throws:
IOException


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.