public class AWSSchemaRegistryDefaultCompression extends Object implements AWSCompressionHandler
BUFFER_SIZE| Constructor and Description |
|---|
AWSSchemaRegistryDefaultCompression() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
compress(byte[] record)
Compresses the record.
|
byte[] |
decompress(byte[] compressedRecord,
int start,
int end)
Need to provide the start bit and end bit for decompressor to decompress the
specified bits in the byte array.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecompress, getDeflatorObject, getInflatorObject, writeToByteArrayOutputStream, writeToDeflatorObjectpublic byte[] compress(byte[] record)
AWSCompressionHandlercompress in interface AWSCompressionHandlerpublic byte[] decompress(byte[] compressedRecord,
int start,
int end)
AWSCompressionHandlerdecompress in interface AWSCompressionHandlerCopyright © 2021. All rights reserved.