static class WALCellCodec.BaosAndCompressor extends ByteArrayOutputStream implements WALCellCodec.ByteStringCompressor
buf, count
Constructor and Description |
---|
WALCellCodec.BaosAndCompressor() |
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.ByteString |
compress(byte[] data,
Dictionary dict) |
com.google.protobuf.ByteString |
toByteString() |
private void |
writeCompressed(byte[] data,
Dictionary dict) |
close, reset, size, toByteArray, toString, toString, toString, write, write, writeTo
flush, write
public com.google.protobuf.ByteString toByteString()
public 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.