DocumentStorage
Represents a generic storage system for documents, without the need for additional metadata or payloads. This interface provides basic document storage operations such as storing, retrieving, and deleting documents.
Parameters
Document
The type of document being stored or processed.
By inheriting from DocumentStorageWithPayload
with a fixed payload type of Unit
, DocumentStorage
simplifies the use case for scenarios where no additional payload is required alongside the document.
Inheritors
Functions
Link copied to clipboard
Iterates over the documents
Link copied to clipboard
Iterates through documents and their corresponding payloads
Link copied to clipboard
Retrieves the payload associated with the document identified by the given document ID.
Link copied to clipboard
Reads a document along with its associated payload based on the given document ID.