Ask a question to get started
Enter to send•Shift+Enter new line
CassandraByteStore( self, table: str, *, session: Optional[Session] = None, keyspace
ByteStore
table
str
The name of the table to use.
session
Optional[Session]
None
A Cassandra session object. If not provided, it will be resolved from the cassio config.
keyspace
Optional[str]
setup_mode
SetupMode
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.
A ByteStore implementation using Cassandra as the backend.
The keyspace to use. If not provided, it will be resolved from the cassio config.
The setup mode to use. Default is SYNC (SetupMode.SYNC).