comparison 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
comparison
equal deleted inserted replaced
2696:1b736d151ea1 2697:e583478e0c6c
154 ResourceType level, 154 ResourceType level,
155 const DicomTag& tag, 155 const DicomTag& tag,
156 IdentifierConstraintType type, 156 IdentifierConstraintType type,
157 const std::string& value) = 0; 157 const std::string& value) = 0;
158 158
159 virtual void LookupIdentifierRange(std::list<int64_t>& result,
160 ResourceType level,
161 const DicomTag& tag,
162 const std::string& start,
163 const std::string& end) = 0;
164
159 virtual bool LookupMetadata(std::string& target, 165 virtual bool LookupMetadata(std::string& target,
160 int64_t id, 166 int64_t id,
161 MetadataType type) = 0; 167 MetadataType type) = 0;
162 168
163 virtual bool LookupParent(int64_t& parentId, 169 virtual bool LookupParent(int64_t& parentId,