diff OrthancServer/IDatabaseWrapper.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 878b59270859
children 8336204d95dc 4e43e67f8ecf
line wrap: on
line diff
--- a/OrthancServer/IDatabaseWrapper.h	Tue Jul 03 15:07:41 2018 +0200
+++ b/OrthancServer/IDatabaseWrapper.h	Tue Jul 03 15:59:17 2018 +0200
@@ -156,6 +156,12 @@
                                   IdentifierConstraintType type,
                                   const std::string& value) = 0;
 
+    virtual void LookupIdentifierRange(std::list<int64_t>& result,
+                                       ResourceType level,
+                                       const DicomTag& tag,
+                                       const std::string& start,
+                                       const std::string& end) = 0;
+
     virtual bool LookupMetadata(std::string& target,
                                 int64_t id,
                                 MetadataType type) = 0;