A ByteStore implementation using Cassandra as the backend.
CassandraByteStore(
self,
table: str,
*,
session: Optional[Session] = None,
keyspace: Optional[str] = None,
setup_mode: SetupMode = SetupMode.SYNC
)| Name | Type | Description |
|---|---|---|
table* | str | The name of the table to use. |
session | Optional[Session] | Default: NoneA Cassandra session object. If not provided, it will be resolved from the cassio config. |
keyspace | Optional[str] | Default: NoneThe keyspace to use. If not provided, it will be resolved from the cassio config. |
setup_mode | SetupMode | Default: SetupMode.SYNCThe setup mode to use. Default is SYNC (SetupMode.SYNC). |
Ensure that the DB setup is finished. If not, raise a ValueError.
Ensure that the DB setup is finished. If not, wait for it.
Get the prepared select statement for the table. If not available, prepare it.
Get the prepared insert statement for the table. If not available, prepare it.
Get the prepared delete statement for the table. If not available, prepare it.