@InterfaceAudience.Private public abstract class WriterBase extends Object implements HLog.Writer
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.hadoop.hbase.regionserver.wal.CompressionContext |
compressionContext |
protected org.apache.hadoop.conf.Configuration |
conf |
| Constructor and Description |
|---|
WriterBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf,
boolean overwritable) |
boolean |
initializeCompressionContext(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path path) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappend, close, getLength, setWALTrailer, syncprotected org.apache.hadoop.hbase.regionserver.wal.CompressionContext compressionContext
protected org.apache.hadoop.conf.Configuration conf
public void init(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf,
boolean overwritable)
throws IOException
init in interface HLog.WriterIOExceptionpublic boolean initializeCompressionContext(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path path)
throws IOException
IOExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.