Module session

Source
Expand description

Session creation and storage

Structsยง

CassandraSession ๐Ÿ”’
All interaction with cassandra goes through this struct.

Enumsยง

CassandraSessionError ๐Ÿ”’
Represents errors that can occur while interacting with a Cassandra session.
CompressionChoice ๐Ÿ”’
Configuration Choices for compression
TlsChoice ๐Ÿ”’
Configuration Choices for TLS.

Staticsยง

INIT_SESSION_ERROR ๐Ÿ”’
Session error while initialization.
PERSISTENT_SESSION ๐Ÿ”’
Persistent DB Session.
VOLATILE_SESSION ๐Ÿ”’
Volatile DB Session.

Functionsยง

make_execution_profile ๐Ÿ”’
Create a new execution profile based on the given configuration.
make_session ๐Ÿ”’
Construct a session based on the given configuration.
retry_init ๐Ÿ”’
Continuously try and init the DB, if it fails, backoff.