@InterfaceAudience.LimitedPrivate(value="Configuration") public class SecureAsyncProtobufLogWriter extends AsyncProtobufLogWriter
cellEncoder, compressionContext, compressor, conf, length, trailer, trailerWarnSize, trailerWritten
Constructor and Description |
---|
SecureAsyncProtobufLogWriter(org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup eventLoopGroup,
Class<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel> channelClass) |
Modifier and Type | Method and Description |
---|---|
protected WALProtos.WALHeader |
buildWALHeader(org.apache.hadoop.conf.Configuration conf,
WALProtos.WALHeader.Builder builder) |
protected String |
getWriterClassName() |
protected void |
initAfterHeader(boolean doCompress) |
protected void |
setEncryptor(Encryptor encryptor) |
append, close, getOutput, getOutputStreamForCellEncoder, initOutput, sync, writeMagicAndWALHeader, writeWALTrailerAndMagic
buildSecureWALHeader, getLength, init, secureInitAfterHeader, writeWALTrailer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init
getLength
public SecureAsyncProtobufLogWriter(org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup eventLoopGroup, Class<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel> channelClass)
protected String getWriterClassName()
getWriterClassName
in class AsyncProtobufLogWriter
protected WALProtos.WALHeader buildWALHeader(org.apache.hadoop.conf.Configuration conf, WALProtos.WALHeader.Builder builder) throws IOException
buildWALHeader
in class AbstractProtobufLogWriter
IOException
protected void setEncryptor(Encryptor encryptor)
setEncryptor
in class AbstractProtobufLogWriter
protected void initAfterHeader(boolean doCompress) throws IOException
initAfterHeader
in class AbstractProtobufLogWriter
IOException
Copyright © 2007–2019 Cloudera. All rights reserved.