static class WALCellCodec.BaosAndCompressor extends ByteArrayOutputStream implements WALCellCodec.ByteStringCompressor
buf, count
Constructor and Description |
---|
BaosAndCompressor() |
Modifier and Type | Method and Description |
---|---|
org.apache.hbase.thirdparty.com.google.protobuf.ByteString |
compress(byte[] data,
Dictionary dict) |
org.apache.hbase.thirdparty.com.google.protobuf.ByteString |
toByteString() |
private void |
writeCompressed(byte[] data,
Dictionary dict) |
close, reset, size, toByteArray, toString, toString, toString, write, write, writeTo
flush, write
BaosAndCompressor()
public org.apache.hbase.thirdparty.com.google.protobuf.ByteString toByteString()
public org.apache.hbase.thirdparty.com.google.protobuf.ByteString compress(byte[] data, Dictionary dict) throws IOException
compress
in interface WALCellCodec.ByteStringCompressor
IOException
private void writeCompressed(byte[] data, Dictionary dict) throws IOException
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.