[][src]Module cdrs::cluster::session

Structs

Session

CDRS session that holds one pool of authorized connecitons per node. compression field contains data compressor that will be used for decompressing data received from Cassandra server.

Functions

new

Creates new session that will perform queries without any compression. Compression type can be changed at any time. As a parameter it takes:

new_lz4

Creates new session that will perform queries with LZ4 compression. Compression type can be changed at any time. As a parameter it takes:

new_snappy

Creates new session that will perform queries with Snappy compression. Compression type can be changed at any time. As a parameter it takes: