Gets or creates a compressor based on the compressor type.
Namespace:
MongoDB.Driver.Core.Compression
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.11.0+cb27a82ea70620ad1acad8058809be8302ae4f2a
SyntaxICompressor Get(
CompressorType compressorType
)
Function Get (
compressorType As CompressorType
) As ICompressor
abstract Get :
compressorType : CompressorType -> ICompressor
Parameters
- compressorType
- Type: MongoDB.Driver.Core.CompressionCompressorType
The compressor type.
Return Value
Type:
ICompressorThe compressor.
See Also