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

java.lang.Object
  extended by org.apache.hadoop.hbase.regionserver.wal.WriterBase
All Implemented Interfaces:
HLog.Writer
Direct Known Subclasses:
ProtobufLogWriter

@InterfaceAudience.Private
public abstract class WriterBase
extends Object
implements HLog.Writer

Context used by our wal dictionary compressor. Null if we're not to do our custom dictionary compression.


Field Summary
protected  org.apache.hadoop.hbase.regionserver.wal.CompressionContext compressionContext
           
 
Constructor Summary
WriterBase()
           
 
Method Summary
 boolean initializeCompressionContext(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.hbase.regionserver.wal.HLog.Writer
append, close, getLength, init, setWALTrailer, sync
 

Field Detail

compressionContext

protected org.apache.hadoop.hbase.regionserver.wal.CompressionContext compressionContext
Constructor Detail

WriterBase

public WriterBase()
Method Detail

initializeCompressionContext

public boolean initializeCompressionContext(org.apache.hadoop.conf.Configuration conf,
                                            org.apache.hadoop.fs.Path path)
                                     throws IOException
Throws:
IOException


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.