qdrant_client.local.persistence module¶
- class CollectionPersistence(location: str, force_disable_check_same_thread: bool = False)[source]¶
Bases:
object
- delete(point_id: Union[int[int], str[str]]) None [source]¶
Delete a point from the local storage. :param point_id: id of the point to delete
- load() Iterable[PointStruct] [source]¶
Load a point from the local storage. :returns: point – loaded point
- persist(point: PointStruct) None [source]¶
Persist a point in the local storage. :param point: point to persist
- CHECK_SAME_THREAD: Optional[bool] = None¶