rc/cql
Declares access to one existing keyspace through Cassandra Query Language (CQL).
Documentation
Use this extension for a workload that connects to Apache Cassandra or another datastore that supports the workload's Cassandra Query Language (CQL) client. Each Condition describes access to one existing keyspace.
The Condition's name identifies the logical datastore requirement. Set
interface.keyspace when the workload requires a specific keyspace name.
Provide the actual name with its original case and without CQL quoting syntax.
Omit this field when the platform can select the keyspace. The selected server
determines which names are valid.
The platform supplies connection settings such as contact points, local datacenter, TLS, and credentials. For example, the Apache Cassandra Java driver requires a local datacenter when configured with explicit contact points. This extension declares keyspace access. Permissions, schema changes, and replication settings are outside its scope.
Example
An orders reader expects a keyspace named orders.
name: orders-store
kind: rc.cql
interface:
type: keyspace
keyspace: orders
The resulting profile declares the extension and includes the same Condition.
apiVersion: runtimeconditions.io/v1alpha1
kind: RuntimeConditionsProfile
metadata:
name: orders-reader
workload:
uri: https://example.com/orders-reader
extensions:
- https://runtimeconditions.io/extensions/rc/cql/0.1.0/runtimeconditions.extension.yaml:0.1.0
conditions:
- name: orders-store
kind: rc.cql
interface:
type: keyspace
keyspace: orders
See the CQL keyspace documentation and Apache Cassandra driver configuration.
Packages
Install the package for your language to declare this extension's Conditions from your code.
Go
This package version is generated but not published to its registry yet.
go get runtimeconditions.io/x/rc/cql@v0.1.0
Conditions
Every Condition part this package defines, with the fields you can set. Select a line to open it.
rc.cql · keyspace: Access to one existing keyspace on a CQL-compatible datastore.
cql.Keyspace is the interface of a rc.cql Condition.
| Field | Type | Required | Description |
|---|---|---|---|
Keyspace |
*string |
no | Exact keyspace name when the workload requires one. Omit it to let the platform choose. Exact keyspace name with its original case, without CQL quoting syntax. |
RcCql
cql.RcCql declares a rc.cql Condition.
Python
This package version is generated but not published to its registry yet.
pip install runtimeconditions-cql
Conditions
Every Condition part this package defines, with the fields you can set. Select a line to open it.
rc.cql · keyspace: Access to one existing keyspace on a CQL-compatible datastore.
Keyspace is the interface of a rc.cql Condition.
| Field | Type | Required | Description |
|---|---|---|---|
keyspace |
str | None |
no | Exact keyspace name when the workload requires one. Omit it to let the platform choose. Exact keyspace name with its original case, without CQL quoting syntax. |
rc_cql
rc_cql declares a rc.cql Condition.
TypeScript
This package version is generated but not published to its registry yet.
npm install @runtimeconditions/cql
Conditions
Every Condition part this package defines, with the fields you can set. Select a line to open it.
rc.cql · keyspace: Access to one existing keyspace on a CQL-compatible datastore.
Keyspace is the interface of a rc.cql Condition.
| Field | Type | Required | Description |
|---|---|---|---|
keyspace |
string |
no | Exact keyspace name when the workload requires one. Omit it to let the platform choose. Exact keyspace name with its original case, without CQL quoting syntax. |
rcCql
rcCql declares a rc.cql Condition.
Java
This package version is generated but not published to its registry yet.
<dependency>
<groupId>io.runtimeconditions.bindings</groupId>
<artifactId>runtimeconditions-cql</artifactId>
<version>0.1.0</version>
</dependency>
Conditions
Every Condition part this package defines, with the fields you can set. Select a line to open it.
rc.cql · keyspace: Access to one existing keyspace on a CQL-compatible datastore.
Keyspace is the interface of a rc.cql Condition.
| Field | Type | Required | Description |
|---|---|---|---|
keyspace |
String |
no | Exact keyspace name when the workload requires one. Omit it to let the platform choose. Exact keyspace name with its original case, without CQL quoting syntax. |
Bindings.rcCql
Bindings.rcCql declares a rc.cql Condition.
Kinds
rc.cql
A workload can connect to a CQL datastore and use a keyspace the platform makes available.
Interface types
Interface types
keyspace
Access to one existing keyspace on a CQL-compatible datastore.
Fields
interface.keyspaceExact keyspace name when the workload requires one. Omit it to let the platform choose.