public class GlueSchemaRegistryDefaultCompression extends Object implements GlueSchemaRegistryCompressionHandler
BUFFER_SIZE| Constructor and Description |
|---|
GlueSchemaRegistryDefaultCompression() |
| 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 GlueSchemaRegistryDefaultCompression()
public byte[] compress(byte[] record)
GlueSchemaRegistryCompressionHandlercompress in interface GlueSchemaRegistryCompressionHandlerpublic byte[] decompress(byte[] compressedRecord,
int start,
int end)
GlueSchemaRegistryCompressionHandlerdecompress in interface GlueSchemaRegistryCompressionHandlerCopyright © 2024. All rights reserved.