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

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

public class SequenceFileInputFormat<K,V>
extends org.apache.hadoop.mapred.FileInputFormat<AvroWrapper<Pair<K,V>>,org.apache.hadoop.io.NullWritable>

An InputFormat for sequence files.


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
LOG
 
Constructor Summary
SequenceFileInputFormat()
           
 
Method Summary
 org.apache.hadoop.mapred.RecordReader<AvroWrapper<Pair<K,V>>,org.apache.hadoop.io.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>>,org.apache.hadoop.io.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>>,org.apache.hadoop.io.NullWritable>
Specified by:
getRecordReader in class org.apache.hadoop.mapred.FileInputFormat<AvroWrapper<Pair<K,V>>,org.apache.hadoop.io.NullWritable>
Throws:
IOException


Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.