10 #ifndef _STRUS_MODULE_STORAGE_HPP_INCLUDED
11 #define _STRUS_MODULE_STORAGE_HPP_INCLUDED
21 class DatabaseInterface;
23 class StatisticsProcessorInterface;
25 class VectorStorageInterface;
27 class WeightingFunctionInterface;
29 class SummarizerFunctionInterface;
31 class PostingJoinOperatorInterface;
33 class ScalarFunctionParserInterface;
35 class ErrorBufferInterface;
41 typedef DatabaseInterface* (*Create)(
const std::string& workdir, ErrorBufferInterface* errorhnd);
49 typedef StatisticsProcessorInterface* (*Create)( ErrorBufferInterface* errorhnd);
57 typedef VectorStorageInterface* (*Create)(
const std::string& workdir, ErrorBufferInterface* errorhnd);
65 typedef PostingJoinOperatorInterface* (*Create)( ErrorBufferInterface* errorhnd);
73 typedef WeightingFunctionInterface* (*Create)( ErrorBufferInterface* errorhnd);
81 typedef SummarizerFunctionInterface* (*Create)( ErrorBufferInterface* errorhnd);
89 typedef ScalarFunctionParserInterface* (*Create)( ErrorBufferInterface* errorhnd);
StatisticsProcessorConstructor statisticsProcessorConstructor
alternative packing/unpacking of statistics messages
Definition: storageModule.hpp:122
const char * name
name of the parser implementation
Definition: storageModule.hpp:90
VectorStorageInterface *(* Create)(const std::string &workdir, ErrorBufferInterface *errorhnd)
Definition: storageModule.hpp:57
DatabaseInterface *(* Create)(const std::string &workdir, ErrorBufferInterface *errorhnd)
Definition: storageModule.hpp:41
Entry point of a module with signature and version info to verify correctness of the dynamic linking...
Definition: moduleEntryPoint.hpp:19
DatabaseConstructor databaseConstructor
alternative key value store database
Definition: storageModule.hpp:121
StorageModule(const PostingIteratorJoinConstructor *postingIteratorJoinConstructor_, const WeightingFunctionConstructor *weightingFunctionConstructor_, const SummarizerFunctionConstructor *summarizerFunctionConstructor_, const char *version_3rdparty=0, const char *license_3rdparty=0)
Storage module constructor.
const ScalarFunctionParserConstructor * scalarFunctionParserConstructor
scalar function parsers
Definition: storageModule.hpp:127
const PostingIteratorJoinConstructor * postingIteratorJoinConstructor
join operator function for postings
Definition: storageModule.hpp:124
Create create
constructor of the object
Definition: storageModule.hpp:43
const WeightingFunctionConstructor * weightingFunctionConstructor
alternative weighting functions for ranking
Definition: storageModule.hpp:125
const char * name
name of the weighting function
Definition: storageModule.hpp:74
Create create
constructor of the function
Definition: storageModule.hpp:83
Create create
constructor of the object
Definition: storageModule.hpp:51
const char * name
name of the implementation
Definition: storageModule.hpp:58
const char * version_3rdparty
3rd party version info
Definition: moduleEntryPoint.hpp:46
Create create
constructor of the function
Definition: storageModule.hpp:67
Create create
constructor of the object
Definition: storageModule.hpp:91
const char * name
name of the join operator
Definition: storageModule.hpp:66
const char * license_3rdparty
3rd party license text
Definition: moduleEntryPoint.hpp:47
StatisticsProcessorInterface *(* Create)(ErrorBufferInterface *errorhnd)
Definition: storageModule.hpp:49
Structure to declare the key value store database to use by the storage as module object...
Definition: storageModule.hpp:39
Structure to declare an alternative vector storage to map vectors to sets of features.
Definition: storageModule.hpp:55
const char * name
name of the implementation
Definition: storageModule.hpp:50
const char * name
name of the database implementation
Definition: storageModule.hpp:42
Structure to declare an operator to join sets of postings represented as iterator as module object...
Definition: storageModule.hpp:63
const char * name
name of the summarizer function
Definition: storageModule.hpp:82
Create create
constructor of the object
Definition: storageModule.hpp:59
Structure to declare a parser, resp. compiler for scalar function definition source.
Definition: storageModule.hpp:87
Structure to declare a query evaluation weighting function as module object.
Definition: storageModule.hpp:71
PostingJoinOperatorInterface *(* Create)(ErrorBufferInterface *errorhnd)
Definition: storageModule.hpp:65
Header with object types needed for declaration of a strus module.
WeightingFunctionInterface *(* Create)(ErrorBufferInterface *errorhnd)
Definition: storageModule.hpp:73
Create create
constructor of the function
Definition: storageModule.hpp:75
ScalarFunctionParserInterface *(* Create)(ErrorBufferInterface *errorhnd)
Definition: storageModule.hpp:89
VectorStorageConstructor vectorStorageConstructor
alternative vectorspace model for mapping vectors to features
Definition: storageModule.hpp:123
SummarizerFunctionInterface *(* Create)(ErrorBufferInterface *errorhnd)
Definition: storageModule.hpp:81
Structure to declare a query evaluation summarizer function as module object.
Definition: storageModule.hpp:79
Structure to declare an alternative packing/unpacking of statistics messages.
Definition: storageModule.hpp:47
Structure that contains all storage module objects.
Definition: storageModule.hpp:96
const SummarizerFunctionConstructor * summarizerFunctionConstructor
summarizer functions
Definition: storageModule.hpp:126