Extract data from Apache Cassandra tables into Semantica using the official cassandra-driver.
Installation
cassandra-driver is an optional dependency. A plain pip install semantica does not install it, and the Cassandra connector is loaded lazily when first used.
Basic Usage
Use environment variables to keep Cassandra credentials out of source code.
Authentication
For authenticated Cassandra clusters:
For clusters without authentication:
Querying
Ingest a table
Limit the number of rows
limit is translated into a CQL LIMIT clause.
Schema Discovery
Each column contains:
primary_keys contains the table’s primary-key column names in Cassandra order.
Export as Semantica Documents
Each document contains:
ID resolution: the configured id_field is converted to a string. When the field is absent, the row index is used as a deterministic fallback.
Text when text_fields is provided: non-None values are converted to strings and joined with a single space.
Text when text_fields=None: only string values are included in the document text.
Connection Test
See Also