Mercurial > hg > orthanc-databases
diff Framework/Plugins/IndexBackend.h @ 436:f16faa1fdc46 pg-transactions
InsertOrUpdateMetadata function + UpdateAndGetStatistics
author | Alain Mazy <am@osimis.io> |
---|---|
date | Fri, 15 Dec 2023 17:11:26 +0100 |
parents | 5964ce6385a5 |
children | 5881e4af5799 |
line wrap: on
line diff
--- a/Framework/Plugins/IndexBackend.h Thu Dec 14 09:25:45 2023 +0100 +++ b/Framework/Plugins/IndexBackend.h Fri Dec 15 17:11:26 2023 +0100 @@ -405,6 +405,15 @@ int32_t property, int64_t increment) ORTHANC_OVERRIDE; + virtual bool HasUpdateAndGetStatistics() ORTHANC_OVERRIDE; + + virtual void UpdateAndGetStatistics(DatabaseManager& manager, + int64_t& patientsCount, + int64_t& studiesCount, + int64_t& seriesCount, + int64_t& instancesCount, + int64_t& compressedSize, + int64_t& uncompressedSize) ORTHANC_OVERRIDE; /** * "maxDatabaseRetries" is to handle