cassandra
| Kind | ffi-zig |
|---|---|
| Categories | database network |
| Keywords | cassandra cql database nosql zig-ffi |
Apache Cassandra client for Kit using CQL Native Protocol
Files
| File | Description |
|---|---|
kit.toml | Package manifest with metadata and dependencies |
src/main.kit | Main module - exports all public functions and types |
zig/cassandra.zig | FFI entry points and type conversions |
zig/connection.zig | TCP connection and CQL handshake |
zig/kit_ffi.zig | Kit value types and Result/Option helpers |
zig/protocol.zig | CQL binary protocol v4 encoding/decoding |
tests/cassandra.test.kit | Tests for error types and trait implementations |
LICENSE | MIT license file |
Dependencies
No Kit package dependencies.
Installation
kit add gitlab.com/kit-lang/packages/kit-cassandra.gitUsage
import Kit.CassandraLicense
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}