FileVectorStorageBackend

constructor(documentReader: DocumentProvider<Path, Document>, fs: FileSystemProvider.ReadWrite<Path>, root: Path)(source)

Parameters

documentReader

A provider responsible for handling document serialization and deserialization.

fs

A file system provider enabling read and write operations for file storage.

root

Root file path where the storage system will organize data.

Type Parameters

Document

Type representing the document to be stored.

Path

Type representing the file path in the storage system.