Mercurial > hg > svcore
comparison rdf/PluginRDFDescription.h @ 489:82ab61fa9223
* Reorganise our sparql queries on the basis that Redland must be
available, not only optional. So for anything querying the pool
of data about plugins, we use a single datastore and model which
is initialised at the outset by PluginRDFIndexer and then queried
directly; for anything that "reads from a file" (e.g. loading
annotations) we query directly using Rasqal, going to the
datastore when we need additional plugin-related information.
This may improve performance, but mostly it simplifies the code
and fixes a serious issue with RDF import in the previous versions
(namely that multiple sequential RDF imports would end up sharing
the same RDF data pool!)
author | Chris Cannam |
---|---|
date | Fri, 21 Nov 2008 16:12:29 +0000 |
parents | 0dc158c1a6c9 |
children | 81963c51b488 |
comparison
equal
deleted
inserted
replaced
488:1c66e199e7d9 | 489:82ab61fa9223 |
---|---|
53 protected: | 53 protected: |
54 typedef std::map<QString, OutputDisposition> OutputDispositionMap; | 54 typedef std::map<QString, OutputDisposition> OutputDispositionMap; |
55 typedef std::map<QString, QString> OutputStringMap; | 55 typedef std::map<QString, QString> OutputStringMap; |
56 | 56 |
57 QString m_pluginId; | 57 QString m_pluginId; |
58 QString m_pluginUri; | |
58 bool m_haveDescription; | 59 bool m_haveDescription; |
59 QString m_pluginName; | 60 QString m_pluginName; |
60 QString m_pluginDescription; | 61 QString m_pluginDescription; |
61 QString m_pluginMaker; | 62 QString m_pluginMaker; |
62 QString m_pluginInfoURL; | 63 QString m_pluginInfoURL; |
64 OutputDispositionMap m_outputDispositions; | 65 OutputDispositionMap m_outputDispositions; |
65 OutputStringMap m_outputEventTypeURIMap; | 66 OutputStringMap m_outputEventTypeURIMap; |
66 OutputStringMap m_outputFeatureAttributeURIMap; | 67 OutputStringMap m_outputFeatureAttributeURIMap; |
67 OutputStringMap m_outputSignalTypeURIMap; | 68 OutputStringMap m_outputSignalTypeURIMap; |
68 OutputStringMap m_outputUnitMap; | 69 OutputStringMap m_outputUnitMap; |
69 bool indexURL(QString url); | 70 bool index(); |
70 bool indexMetadata(QString url, QString label); | 71 bool indexMetadata(); |
71 bool indexOutputs(QString url, QString label); | 72 bool indexOutputs(); |
72 }; | 73 }; |
73 | 74 |
74 #endif | 75 #endif |
75 | 76 |