Scylla Rust Driver
1.
Quick start
1.1.
Creating a project
1.2.
Running Scylla using Docker
1.3.
Connecting and running a simple query
2.
Connecting to the cluster
2.1.
Compression
2.2.
Authentication
2.3.
TLS
3.
Making queries
3.1.
Simple query
3.2.
Query values
3.3.
Query result
3.4.
Prepared query
3.5.
Batch statement
3.6.
Paged query
3.7.
Lightweight transaction query (LWT)
3.8.
USE keyspace
3.9.
Schema agreement
4.
Data Types
4.1.
Bool, Tinyint, Smallint, Int, Bigint, Float, Double
4.2.
Ascii, Text, Varchar
4.3.
Counter
4.4.
Blob
4.5.
Inet
4.6.
Uuid, Timeuuid
4.7.
Date
4.8.
Time
4.9.
Timestamp
4.10.
Decimal
4.11.
Varint
4.12.
List, Set, Map
4.13.
Tuple
4.14.
UDT (User defined type)
5.
Load balancing
5.1.
Round robin
5.2.
DC Aware Round robin
5.3.
Token aware Round robin
5.4.
Token aware DC Aware Round robin
6.
Retry policy configuration
6.1.
Fallthrough retry policy
6.2.
Default retry policy
7.
Speculative execution
7.1.
Simple
7.2.
Latency Percentile
8.
Driver metrics
9.
Logging
10.
Query tracing
10.1.
Tracing a simple/prepared query
10.2.
Tracing a batch query
10.3.
Tracing a paged query
10.4.
Tracing Session::prepare
Light
Rust
Coal
Navy
Ayu (default)
Scylla Rust Driver
Quick Start
In this chapter we will set up a Rust project and run a few simple queries.
Topics Include:
Create a Rust Project
Example
Install Scylla with Docker