| Name | Type | Description |
|---|---|---|
table | Optional[str] | Default: NoneThe table to load the data from. (do not use together with the query parameter) |
session | Optional[Session] | Default: NoneThe cassandra driver session. If not provided, the cassio resolved session will be used. |
keyspace | Optional[str] | Default: None |
query | Union[str, Statement, None] | Default: None |
page_content_mapper | Callable[[Any], str] | Default: str |
metadata_mapper | Callable[[Any], dict] | Default: lambda _: {} |
query_parameters | Union[dict, Sequence, None] | Default: None |
query_timeout | Optional[float] | Default: _NOT_SET |
query_trace | bool | Default: False |
query_custom_payload | Optional[dict] | Default: None |
query_execution_profile | Any | Default: _NOT_SET |
query_host | Optional[Host] | Default: None |
query_execute_as | Optional[str] | Default: None |
| Name | Type |
|---|---|
| table | Optional[str] |
| session | Optional[Session] |
| keyspace | Optional[str] |
| query | Union[str, Statement, None] |
| page_content_mapper | Callable[[Any], str] |
| metadata_mapper | Callable[[Any], dict] |
| query_parameters | Union[dict, Sequence, None] |
| query_timeout | Optional[float] |
| query_trace | bool |
| query_custom_payload | Optional[dict] |
| query_execution_profile | Any |
| query_paging_state | Any |
| query_host | Optional[Host] |
| query_execute_as | Optional[str] |
The keyspace of the table. If not provided, the cassio resolved keyspace will be used.
The query used to load the data. (do not use together with the table parameter)
a function to convert a row to string page content. Defaults to the str representation of the row.
a function to convert a row to document metadata.
The query parameters used when calling session.execute .
The query timeout used when calling session.execute .
Whether to use tracing when calling session.execute .
The query custom_payload used when calling session.execute .
The query execution_profile used when calling session.execute .
The query host used when calling session.execute .
The query execute_as used when calling session.execute .