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

java.lang.Object
  extended by org.apache.avro.mapred.AvroRecordReader<Pair<K,V>>
      extended by org.apache.avro.mapred.SequenceFileRecordReader<K,V>
All Implemented Interfaces:
org.apache.hadoop.mapred.RecordReader<AvroWrapper<Pair<K,V>>,NullWritable>

public class SequenceFileRecordReader<K,V>
extends AvroRecordReader<Pair<K,V>>

A RecordReader for sequence files.


Constructor Summary
SequenceFileRecordReader(org.apache.hadoop.mapred.JobConf job, org.apache.hadoop.mapred.FileSplit split)
           
 
Method Summary
 
Methods inherited from class org.apache.avro.mapred.AvroRecordReader
close, createKey, createValue, getPos, getProgress, next
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceFileRecordReader

public SequenceFileRecordReader(org.apache.hadoop.mapred.JobConf job,
                                org.apache.hadoop.mapred.FileSplit split)
                         throws IOException
Throws:
IOException


Copyright © 2010 The Apache Software Foundation