10 #ifndef _STRUS_STORAGE_PRGLOAD_LIB_HPP_INCLUDED
11 #define _STRUS_STORAGE_PRGLOAD_LIB_HPP_INCLUDED
21 class FileLocatorInterface;
23 class QueryProcessorInterface;
25 class QueryEvalInterface;
29 class StorageClientInterface;
31 class VectorStorageClientInterface;
33 class ErrorBufferInterface;
44 QueryEvalInterface& qeval,
45 const std::vector<std::string>& analyzerterms,
46 const QueryProcessorInterface* qproc,
47 const std::string& source,
48 ErrorBufferInterface* errorhnd);
59 StorageClientInterface& storage,
60 const std::string& metadataName,
61 const std::multimap<std::string,strus::Index>* attributemapref,
62 const std::string& file,
64 ErrorBufferInterface* errorhnd);
75 StorageClientInterface& storage,
76 const std::string& attributeName,
77 const std::multimap<std::string,strus::Index>* attributemapref,
78 const std::string& file,
80 ErrorBufferInterface* errorhnd);
90 StorageClientInterface& storage,
91 const std::multimap<std::string,strus::Index>* attributemapref,
92 const std::string& file,
94 ErrorBufferInterface* errorhnd);
105 VectorStorageClientInterface* vstorage,
106 const std::string& vectorfile,
108 char typeValueSeparator,
110 ErrorBufferInterface* errorhnd);
bool load_queryeval_program(QueryEvalInterface &qeval, const std::vector< std::string > &analyzerterms, const QueryProcessorInterface *qproc, const std::string &source, ErrorBufferInterface *errorhnd)
Load a query evaluation program from source.
int load_attribute_assignments(StorageClientInterface &storage, const std::string &attributeName, const std::multimap< std::string, strus::Index > *attributemapref, const std::string &file, int commitSize, ErrorBufferInterface *errorhnd)
Load some attribute assignments for a storage from a stream.
Numeric types used for local and global indices.
int load_metadata_assignments(StorageClientInterface &storage, const std::string &metadataName, const std::multimap< std::string, strus::Index > *attributemapref, const std::string &file, int commitSize, ErrorBufferInterface *errorhnd)
Load some meta data assignments for a storage from a stream.
int load_user_assignments(StorageClientInterface &storage, const std::multimap< std::string, strus::Index > *attributemapref, const std::string &file, int commitSize, ErrorBufferInterface *errorhnd)
Load some user rights assignments for a storage from a stream.
bool load_vectors(VectorStorageClientInterface *vstorage, const std::string &vectorfile, bool networkOrder, char typeValueSeparator, int commitSize, ErrorBufferInterface *errorhnd)
Adds the feature definitions in the file (word2vec text or binary format) given by a path to a vector...