Package io.deephaven.grpc.compression
package io.deephaven.grpc.compression
-
ClassDescriptionSupplies a compression type that Deephaven supports for gRPC messages.The compression types that Deephaven supports for gRPC messages, named as in gRPC's
grpc-encodingandgrpc-accept-encodingheaders; their gRPC registries; and parsers for compression type lists and a client'sgrpc-accept-encoding.A gRPCCodecfor thedeflatemessage encoding: the zlib format, as gRPC Core uses it, fromjava.util.zipat its default compression level, the same level as gRPC'sgzipcodec.SuppliesDeflateCodec.INSTANCEas a supported compression type, so thatCompressionCodecsfinds it withServiceLoaderlike every other type.Supplies gRPC's owngzipcodec as a supported compression type, so thatCompressionCodecsfinds it withServiceLoaderlike every other type.A gRPCCodecfor thesnappymessage encoding, using the standard Snappy framing format (with CRC32C checksums) from snappy-java.SuppliesSnappyCodec.INSTANCEas a supported compression type, so thatCompressionCodecsfinds it withServiceLoaderlike every other type.A gRPCCodecfor thezstdmessage encoding, backed by zstd-jni streams at zstd's default compression level.SuppliesZstdCodec.INSTANCEas a supported compression type, so thatCompressionCodecsfinds it withServiceLoaderlike every other type.