| Package | Description |
|---|---|
| org.apache.pulsar.common.api.proto | |
| org.apache.pulsar.common.compression |
Implementation of different compression codecs.
|
| Modifier and Type | Method and Description |
|---|---|
CompressionType |
MessageMetadata.getCompression() |
static CompressionType |
CompressionType.valueOf(int n) |
static CompressionType |
CompressionType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompressionType[] |
CompressionType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
MessageMetadata |
MessageMetadata.setCompression(CompressionType compression) |
| Modifier and Type | Method and Description |
|---|---|
static CompressionType |
CompressionCodecProvider.convertToWireProtocol(CompressionType compressionType) |
| Modifier and Type | Method and Description |
|---|---|
static CompressionType |
CompressionCodecProvider.convertFromWireProtocol(CompressionType compressionType) |
static CompressionCodec |
CompressionCodecProvider.getCompressionCodec(CompressionType type) |
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.