diff Plugins/Engine/OrthancPluginDatabase.h @ 2697:e583478e0c6c jobs

New primitive in database SDK: "lookupIdentifierRange" to speed up range searches
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 03 Jul 2018 15:59:17 +0200
parents be5c0f4155f6
children 8336204d95dc 4e43e67f8ecf
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPluginDatabase.h	Tue Jul 03 15:07:41 2018 +0200
+++ b/Plugins/Engine/OrthancPluginDatabase.h	Tue Jul 03 15:59:17 2018 +0200
@@ -213,6 +213,12 @@
                                   IdentifierConstraintType type,
                                   const std::string& value);
 
+    virtual void LookupIdentifierRange(std::list<int64_t>& result,
+                                       ResourceType level,
+                                       const DicomTag& tag,
+                                       const std::string& start,
+                                       const std::string& end);
+
     virtual bool LookupMetadata(std::string& target,
                                 int64_t id,
                                 MetadataType type);