@InterfaceAudience.LimitedPrivate(value="Configuration") public class SecureProtobufLogWriter extends ProtobufLogWriter
Modifier and Type | Field and Description |
---|---|
private Encryptor |
encryptor |
output
cellEncoder, compressionContext, compressor, conf, length, trailer, trailerWarnSize, trailerWritten
Constructor and Description |
---|
SecureProtobufLogWriter() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.WALHeader |
buildWALHeader(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.WALHeader.Builder builder) |
protected void |
initAfterHeader(boolean doCompress) |
protected void |
setEncryptor(Encryptor encryptor) |
append, close, getOutputStreamForCellEncoder, getStream, initOutput, sync, writeMagicAndWALHeader, writeWALTrailerAndMagic
buildSecureWALHeader, getLength, getWriterClassName, init, secureInitAfterHeader, setWALTrailer, writeWALTrailer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init
getLength
public SecureProtobufLogWriter()
protected org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.WALHeader buildWALHeader(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.shaded.protobuf.generated.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–2020 The Apache Software Foundation. All rights reserved.