org.apache.hadoop.hbase.regionserver.wal
Class SequenceFileLogReader

java.lang.Object
  extended by org.apache.hadoop.hbase.regionserver.wal.SequenceFileLogReader
All Implemented Interfaces:
HLog.Reader

public class SequenceFileLogReader
extends Object
implements HLog.Reader


Constructor Summary
SequenceFileLogReader()
           
 
Method Summary
 void close()
           
 long getPosition()
           
 void init(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration conf)
           
 HLog.Entry next()
           
 HLog.Entry next(HLog.Entry reuse)
           
 void seek(long pos)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceFileLogReader

public SequenceFileLogReader()
Method Detail

init

public void init(org.apache.hadoop.fs.FileSystem fs,
                 org.apache.hadoop.fs.Path path,
                 org.apache.hadoop.conf.Configuration conf)
          throws IOException
Specified by:
init in interface HLog.Reader
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface HLog.Reader
Throws:
IOException

next

public HLog.Entry next()
                throws IOException
Specified by:
next in interface HLog.Reader
Throws:
IOException

next

public HLog.Entry next(HLog.Entry reuse)
                throws IOException
Specified by:
next in interface HLog.Reader
Throws:
IOException

seek

public void seek(long pos)
          throws IOException
Specified by:
seek in interface HLog.Reader
Throws:
IOException

getPosition

public long getPosition()
                 throws IOException
Specified by:
getPosition in interface HLog.Reader
Throws:
IOException


Copyright © 2010 Apache Software Foundation. All Rights Reserved.