Skip to main content

Module types

Module types 

Source
Expand description

CQL value types and result set representations.

Provides an intermediate type layer between the scylla driver’s native types and the cqlsh-rs formatting/display layer. This decouples the driver implementation from the rest of the application.

Structs§

CqlColumn
A column descriptor in a result set.
CqlResult
The result of executing a CQL query.
CqlRow
A single row in a result set.
CqlRowStream
A streaming result set that yields rows lazily from the database.

Enums§

CqlValue
A single CQL value, mirroring all CQL data types.

Functions§

format_float32 🔒
Format a float32 matching Python cqlsh output style.
format_float64 🔒
Format a float64 matching Python cqlsh output style.
format_timestamp 🔒
Format a CQL timestamp (milliseconds since Unix epoch).
write_cql_literal 🔒
Write a CQL literal value, quoting strings.