langchain_community.storage.astradb
.AstraDBBaseStore¶
- class langchain_community.storage.astradb.AstraDBBaseStore(collection_name: str, token: Optional[str] = None, api_endpoint: Optional[str] = None, astra_db_client: Optional[Any] = None, namespace: Optional[str] = None)[source]¶
Methods
__init__
(collection_name[, token, ...])decode_value
(value)Decodes value from Astra DB
encode_value
(value)Encodes value for Astra DB
mdelete
(keys)Delete the given keys.
mget
(keys)Get the values associated with the given keys.
mset
(key_value_pairs)Set the given key-value pairs.
yield_keys
(*[, prefix])Yield keys in the store.
- __init__(collection_name: str, token: Optional[str] = None, api_endpoint: Optional[str] = None, astra_db_client: Optional[Any] = None, namespace: Optional[str] = None) None [source]¶