cassandra

Apache Cassandra client for Kit using CQL Native Protocol

Files

FileDescription
kit.tomlPackage manifest with metadata and dependencies
src/main.kitMain module - exports all public functions and types
zig/cassandra.zigFFI entry points and type conversions
zig/connection.zigTCP connection and CQL handshake
zig/kit_ffi.zigKit value types and Result/Option helpers
zig/protocol.zigCQL binary protocol v4 encoding/decoding
tests/cassandra.test.kitTests for error types and trait implementations
LICENSEMIT license file

Dependencies

No Kit package dependencies.

Installation

kit add gitlab.com/kit-lang/packages/kit-cassandra.git

Usage

import Kit.Cassandra

License

MIT License - see LICENSE for details.

Exported Functions & Types

CassandraError

Cassandra error type for typed error handling. Variants distinguish between different failure modes.

Variants

CassandraConnectionError {message}
CassandraQueryError {message}
CassandraKeyspaceError {message}