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:
org.apache.hadoop.mapred.InputFormat<AvroWrapper<Pair<K,V>>,NullWritable>

public class SequenceFileInputFormat<K,V>
extends org.apache.hadoop.mapred.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
 org.apache.hadoop.mapred.RecordReader<AvroWrapper<Pair<K,V>>,NullWritable> getRecordReader(org.apache.hadoop.mapred.InputSplit split, org.apache.hadoop.mapred.JobConf job, org.apache.hadoop.mapred.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 org.apache.hadoop.mapred.RecordReader<AvroWrapper<Pair<K,V>>,NullWritable> getRecordReader(org.apache.hadoop.mapred.InputSplit split,
                                                                                                  org.apache.hadoop.mapred.JobConf job,
                                                                                                  org.apache.hadoop.mapred.Reporter reporter)
                                                                                           throws IOException
Specified by:
getRecordReader in interface org.apache.hadoop.mapred.InputFormat<AvroWrapper<Pair<K,V>>,NullWritable>
Specified by:
getRecordReader in class org.apache.hadoop.mapred.FileInputFormat<AvroWrapper<Pair<K,V>>,NullWritable>
Throws:
IOException


Copyright © 2010 The Apache Software Foundation