Session
can use any load balancing policy which implements the LoadBalancingPolicy
trait
See the book for more informationQuery retries configurations
To decide when to retry a query the Session
can use any object which implements
the RetryPolicy
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
Node represents a cluster node along with it’s data and connections
The state of a paged query, i.e. where to resume fetching result rows
upon next request.
Driver and application self-identifying information,
to be sent in STARTUP message.
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
on Untranslatable
variant.