public static interface HLog.Reader
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
getPosition() |
WALProtos.WALTrailer |
getWALTrailer() |
void |
init(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration c,
org.apache.hadoop.fs.FSDataInputStream s) |
HLog.Entry |
next() |
HLog.Entry |
next(HLog.Entry reuse) |
void |
reset() |
void |
seek(long pos) |
void init(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration c, org.apache.hadoop.fs.FSDataInputStream s) throws IOException
fs
- File system.path
- Path.c
- Configuration.s
- Input stream that may have been pre-opened by the caller; may be null.IOException
void close() throws IOException
IOException
HLog.Entry next() throws IOException
IOException
HLog.Entry next(HLog.Entry reuse) throws IOException
IOException
void seek(long pos) throws IOException
IOException
long getPosition() throws IOException
IOException
void reset() throws IOException
IOException
WALProtos.WALTrailer getWALTrailer()
Copyright © 2014 The Apache Software Foundation. All rights reserved.