Crate cqlsh_rs

Crate cqlsh_rs 

Source
Expand description

cqlsh-rs library — exposes modules for benchmarks and integration tests.

Modules§

cli
Command-line argument parsing for cqlsh-rs.
colorizer
CQL syntax colorization for the REPL prompt and output.
completer
Tab completion for the CQL shell.
config
Configuration file parsing and merged configuration for cqlsh-rs.
copy
COPY TO and COPY FROM implementation — exports/imports CSV data.
cql_lexer
Unified CQL lexer (tokenizer) with grammar-aware position tracking.
describe
DESCRIBE command implementations for cqlsh-rs.
driver
Driver abstraction layer for CQL database connectivity.
error
Error classification and formatting for user-facing error display.
executor
Non-interactive CQL execution engine with injectable output writer.
formatter
Output formatting for CQL query results.
pager
Output pager for displaying large result sets.
parser
Statement parser for cqlsh-rs.
repl
Interactive REPL (Read-Eval-Print Loop) for cqlsh-rs.
schema_cache
Schema metadata cache for tab completion.
session
CQL session management layer.
shell_completions
Shell completion generation for cqlsh-rs CLI arguments.

Functions§

run_cql_in_process
Execute a CQL string against a remote host and return the captured stdout output.