FileVectorStorage

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

Parameters

Document

Type representing the document to be stored.

Path

Type representing the file path in the storage system.

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.