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.IOExceptionvoid close()
throws IOException
IOExceptionHLog.Entry next() throws IOException
IOExceptionHLog.Entry next(HLog.Entry reuse) throws IOException
IOExceptionvoid seek(long pos)
throws IOException
IOExceptionlong getPosition()
throws IOException
IOExceptionvoid reset()
throws IOException
IOExceptionWALProtos.WALTrailer getWALTrailer()
Copyright © 2014 The Apache Software Foundation. All rights reserved.