Click or drag to resize

ProtocolOptionsSetCustomCompressor Method

Sets a custom compressor to be used for the compression type. If specified, the compression type is mandatory. If not specified the driver default compressor will be use for the compression type.

Namespace:  Cassandra
Assembly:  Cassandra (in Cassandra.dll) Version: 3.10.0
Syntax
C#
public ProtocolOptions SetCustomCompressor(
	IFrameCompressor compressor
)

Parameters

compressor
Type: CassandraIFrameCompressor
Implementation of IFrameCompressor

Return Value

Type: ProtocolOptions
See Also