Re-exports§
pub use execution_profile::ExecutionProfile;
Modules§
- This module contains various errors which can be returned by
scylla::Session
ExecutionProfile
is a grouping of configurable options regarding query execution.- Host filters.
- Iterators over rows returned by paged queries
- Load balancing configurations
Session
can use any load balancing policy which implements theLoadBalancingPolicy
trait
See the book for more information - Query retries configurations
To decide when to retry a query theSession
can use any object which implements theRetryPolicy
trait Session
is the main object used in the driver.
It manages all connections to the cluster and allows to perform queries.- SessionBuilder provides an easy way to create new Sessions
Structs§
- Node represents a cluster node along with it’s data and connections
Enums§
- The wire protocol compression algorithm.
- Describes a database server known on
Session
startup. - This enum is introduced to support address translation only upon opening a connection, as well as to cope with a bug present in older Cassandra and Scylla releases. The bug involves misconfiguration of rpc_address and/or broadcast_rpc_address in system.local to 0.0.0.0. Mitigation involves replacing the faulty address with connection’s address, but then that address must not be subject to
AddressTranslator
, so we carry that information using this enum. Address translation is never performed onUntranslatable
variant.
Type Aliases§
- A way that Nodes are often passed and accessed in the driver’s code.