Create an instance for snappy compression.
Create an instance for snappy compression.
A compressor based on the snappy compression algorithm
Create an instance for zlib compression.
Create an instance for zlib compression.
A compressor based on the zlib compression algorithm
Requires MongoDB 3.6 or greater
Create an instance for zstd compression.
Create an instance for zstd compression.
A compressor based on the zstd compression algorithm
4.0
Requires MongoDB 4.2 or greater
(Since version ) see corresponding Javadoc for more information.
Metadata describing a compressor to use for sending and receiving messages to a MongoDB server.
2.2
Requires MongoDB 3.4 or greater