Mercurial > hg > orthanc
diff OrthancServer/Sources/Database/BaseDatabaseWrapper.h @ 5593:862b54b4cfe2 find-refactoring
implemented the default multi-stage find/expand
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 04 May 2024 11:35:34 +0200 |
parents | bbe45a71f5cd |
children | 4640b7ae9a11 |
line wrap: on
line diff
--- a/OrthancServer/Sources/Database/BaseDatabaseWrapper.h Fri May 03 21:26:06 2024 +0200 +++ b/OrthancServer/Sources/Database/BaseDatabaseWrapper.h Sat May 04 11:35:34 2024 +0200 @@ -46,8 +46,25 @@ int64_t& instancesCount, int64_t& compressedSize, int64_t& uncompressedSize) ORTHANC_OVERRIDE; + + virtual void ExecuteFind(FindResponse& response, + const FindRequest& request, + const std::vector<DatabaseConstraint>& normalized) ORTHANC_OVERRIDE; + + virtual void ExecuteFind(std::list<std::string>& identifiers, + const FindRequest& request, + const std::vector<DatabaseConstraint>& normalized) ORTHANC_OVERRIDE; + + virtual void ExecuteExpand(FindResponse& response, + const FindRequest& request, + const std::string& identifier) ORTHANC_OVERRIDE; }; virtual uint64_t MeasureLatency() ORTHANC_OVERRIDE; + + virtual bool HasIntegratedFind() const ORTHANC_OVERRIDE + { + return false; + } }; }