diff transform/TransformFactory.cpp @ 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 c45e6c6722e0
children 81963c51b488
line wrap: on
line diff
--- a/transform/TransformFactory.cpp	Fri Nov 21 14:25:33 2008 +0000
+++ b/transform/TransformFactory.cpp	Fri Nov 21 16:12:29 2008 +0000
@@ -295,6 +295,7 @@
     case TransformDescription::Generator: return tr("Generator");
     case TransformDescription::UnknownType: return tr("Other");
     }
+    return tr("Other");
 }
 
 void