| Constructor and Description |
|---|
SequenceFileReader(File file) |
SequenceFileReader(org.apache.hadoop.io.SequenceFile.Reader reader,
org.apache.hadoop.conf.Configuration conf) |
SequenceFileReader(URI uri,
org.apache.hadoop.conf.Configuration c) |
public SequenceFileReader(File file) throws IOException
IOExceptionpublic SequenceFileReader(URI uri, org.apache.hadoop.conf.Configuration c) throws IOException
IOExceptionpublic SequenceFileReader(org.apache.hadoop.io.SequenceFile.Reader reader,
org.apache.hadoop.conf.Configuration conf)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic org.apache.avro.Schema getSchema()
public Pair<K,V> next(Pair<K,V> reuse) throws IOException
next in interface org.apache.avro.file.FileReader<Pair<K,V>>IOExceptionpublic void sync(long position)
throws IOException
sync in interface org.apache.avro.file.FileReader<Pair<K,V>>IOExceptionpublic boolean pastSync(long position)
throws IOException
pastSync in interface org.apache.avro.file.FileReader<Pair<K,V>>IOExceptionpublic long tell()
throws IOException
tell in interface org.apache.avro.file.FileReader<Pair<K,V>>IOExceptionCopyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.