Expand description
Tab completion for the CQL shell.
Implements rustylineβs Completer, Helper, Hinter, Highlighter, and
Validator traits to provide context-aware tab completion in the REPL.
Completions include CQL keywords, shell commands, schema objects (keyspaces,
tables, columns), consistency levels, DESCRIBE sub-commands, and file paths.
StructsΒ§
- CqlCompleter
- Tab completer for the CQL shell REPL.
EnumsΒ§
- Completion
Context π - Detected completion context based on the input up to the cursor.
ConstantsΒ§
- CONSISTENCY_
LEVELS π - CQL consistency levels.
- CQL_
CLAUSE_ πKEYWORDS - CQL clause keywords used within statements.
- CQL_
KEYWORDS π - CQL keywords that can start a statement.
- CQL_
TYPES π - CQL data types for CREATE TABLE column definitions.
- DESCRIBE_
SUB_ πCOMMANDS - DESCRIBE sub-commands.
- SHELL_
COMMANDS π - Built-in shell commands.
FunctionsΒ§
- complete_
file_ πpath - Complete file paths for SOURCE and CAPTURE commands.
- filter_
candidates π - Filter candidates by prefix, returning matching
Pairs.