Interface for storing an retrieving vectors of floating point numbers representing word embeddings.
More...
#include <vectorStorageInterface.hpp>
Interface for storing an retrieving vectors of floating point numbers representing word embeddings.
virtual strus::VectorStorageInterface::~VectorStorageInterface |
( |
| ) |
|
|
inlinevirtual |
Create a new vector storage client interface.
- Parameters
-
[in] | configsource | configuration string of the storage and the database (not a filename!) |
[in] | database | database type of the persistent storage |
- Returns
- the client interface (with ownership)
Create a dump of the contents of a vector storage.
- Parameters
-
[in] | configsource | Configuration source string describing the storage and the database (not a filename !) |
[in] | database | key value store database type used by the vector storage |
- Returns
- the object to fetch the dump from
virtual bool strus::VectorStorageInterface::createStorage |
( |
const std::string & |
configsource, |
|
|
const DatabaseInterface * |
database |
|
) |
| const |
|
pure virtual |
Create a data repository for the data of a vector storage.
- Parameters
-
[in] | configsource | configuration string of the storage and the database (not a filename!) |
[in] | database | database type for the repository |
- Returns
- true on success, false if an error occurred
The documentation for this class was generated from the following file: