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

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

@InterfaceAudience.LimitedPrivate(value="Configuration")
public class SecureProtobufLogWriter
extends ProtobufLogWriter


Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.regionserver.wal.ProtobufLogWriter
cellEncoder, compressor, output
 
Fields inherited from class org.apache.hadoop.hbase.regionserver.wal.WriterBase
compressionContext, conf
 
Constructor Summary
SecureProtobufLogWriter()
           
 
Method Summary
protected  WALProtos.WALHeader buildWALHeader(org.apache.hadoop.conf.Configuration conf, WALProtos.WALHeader.Builder builder)
           
protected  void initAfterHeader(boolean doCompress)
           
 
Methods inherited from class org.apache.hadoop.hbase.regionserver.wal.ProtobufLogWriter
append, buildWALTrailer, close, getCodec, getLength, getStream, init, setWALTrailer, sync
 
Methods inherited from class org.apache.hadoop.hbase.regionserver.wal.WriterBase
initializeCompressionContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecureProtobufLogWriter

public SecureProtobufLogWriter()
Method Detail

buildWALHeader

protected WALProtos.WALHeader buildWALHeader(org.apache.hadoop.conf.Configuration conf,
                                             WALProtos.WALHeader.Builder builder)
                                      throws IOException
Overrides:
buildWALHeader in class ProtobufLogWriter
Throws:
IOException

initAfterHeader

protected void initAfterHeader(boolean doCompress)
                        throws IOException
Overrides:
initAfterHeader in class ProtobufLogWriter
Throws:
IOException


Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.