Mercurial > hg > orthanc
comparison OrthancServer/Sources/Database/StatelessDatabaseOperations.h @ 5757:5463c3ae3235 large-queries
refactored extended /changes
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Thu, 05 Sep 2024 18:21:56 +0200 |
parents | 3765085693e5 |
children | ca06dde85358 |
comparison
equal
deleted
inserted
replaced
5663:3765085693e5 | 5757:5463c3ae3235 |
---|---|
245 uint32_t limit) | 245 uint32_t limit) |
246 { | 246 { |
247 transaction_.GetChanges(target, done, since, limit); | 247 transaction_.GetChanges(target, done, since, limit); |
248 } | 248 } |
249 | 249 |
250 void GetChanges2(std::list<ServerIndexChange>& target /*out*/, | 250 void GetChangesExtended(std::list<ServerIndexChange>& target /*out*/, |
251 bool& done /*out*/, | 251 bool& done /*out*/, |
252 int64_t since, | 252 int64_t since, |
253 int64_t to, | 253 int64_t to, |
254 uint32_t limit, | 254 uint32_t limit, |
255 ChangeType filterType) | 255 ChangeType filterType) |
256 { | 256 { |
257 transaction_.GetChanges2(target, done, since, to, limit, filterType); | 257 transaction_.GetChangesExtended(target, done, since, to, limit, filterType); |
258 } | 258 } |
259 | 259 |
260 void GetChildrenInternalId(std::list<int64_t>& target, | 260 void GetChildrenInternalId(std::list<int64_t>& target, |
261 int64_t id) | 261 int64_t id) |
262 { | 262 { |
638 | 638 |
639 void GetChanges(Json::Value& target, | 639 void GetChanges(Json::Value& target, |
640 int64_t since, | 640 int64_t since, |
641 uint32_t limit); | 641 uint32_t limit); |
642 | 642 |
643 void GetChanges2(Json::Value& target, | 643 void GetChangesExtended(Json::Value& target, |
644 int64_t since, | 644 int64_t since, |
645 int64_t to, | 645 int64_t to, |
646 uint32_t limit, | 646 uint32_t limit, |
647 ChangeType filterType); | 647 ChangeType filterType); |
648 | 648 |
649 void GetLastChange(Json::Value& target); | 649 void GetLastChange(Json::Value& target); |
650 | 650 |
651 bool HasExtendedApiV1(); | 651 bool HasExtendedChanges(); |
652 | 652 |
653 void GetExportedResources(Json::Value& target, | 653 void GetExportedResources(Json::Value& target, |
654 int64_t since, | 654 int64_t since, |
655 uint32_t limit); | 655 uint32_t limit); |
656 | 656 |