Mercurial > hg > orthanc
annotate OrthancServer/Sources/Database/BaseDatabaseWrapper.cpp @ 5663:3765085693e5 large-queries
merge default -> large-queries
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Thu, 04 Jul 2024 07:40:58 +0200 |
parents | 28cc06e4859a f7adfb22e20e |
children | 5463c3ae3235 |
rev | line source |
---|---|
5516 | 1 /** |
2 * Orthanc - A Lightweight, RESTful DICOM Store | |
3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics | |
4 * Department, University Hospital of Liege, Belgium | |
5640
f7adfb22e20e
updated copyright, as Orthanc Team now replaces Osimis
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
5518
diff
changeset
|
5 * Copyright (C) 2017-2023 Osimis S.A., Belgium |
f7adfb22e20e
updated copyright, as Orthanc Team now replaces Osimis
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
5518
diff
changeset
|
6 * Copyright (C) 2024-2024 Orthanc Team SRL, Belgium |
5516 | 7 * Copyright (C) 2021-2024 Sebastien Jodogne, ICTEAM UCLouvain, Belgium |
8 * | |
9 * This program is free software: you can redistribute it and/or | |
10 * modify it under the terms of the GNU General Public License as | |
11 * published by the Free Software Foundation, either version 3 of the | |
12 * License, or (at your option) any later version. | |
13 * | |
14 * This program is distributed in the hope that it will be useful, but | |
15 * WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
17 * General Public License for more details. | |
18 * | |
19 * You should have received a copy of the GNU General Public License | |
20 * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
21 **/ | |
22 | |
23 | |
24 #include "BaseDatabaseWrapper.h" | |
25 | |
26 #include "../../../OrthancFramework/Sources/OrthancException.h" | |
27 | |
28 namespace Orthanc | |
29 { | |
30 int64_t BaseDatabaseWrapper::BaseTransaction::IncrementGlobalProperty(GlobalProperty property, | |
31 int64_t increment, | |
32 bool shared) | |
33 { | |
34 throw OrthancException(ErrorCode_NotImplemented); // Not supported | |
35 } | |
36 | |
37 | |
38 void BaseDatabaseWrapper::BaseTransaction::UpdateAndGetStatistics(int64_t& patientsCount, | |
39 int64_t& studiesCount, | |
40 int64_t& seriesCount, | |
41 int64_t& instancesCount, | |
42 int64_t& compressedSize, | |
43 int64_t& uncompressedSize) | |
44 { | |
45 throw OrthancException(ErrorCode_NotImplemented); // Not supported | |
46 } | |
5518 | 47 |
5553
28cc06e4859a
Added ExtendedApiV1: /changes
Alain Mazy <am@orthanc.team>
parents:
5518
diff
changeset
|
48 void BaseDatabaseWrapper::BaseTransaction::GetChanges2(std::list<ServerIndexChange>& target /*out*/, |
28cc06e4859a
Added ExtendedApiV1: /changes
Alain Mazy <am@orthanc.team>
parents:
5518
diff
changeset
|
49 bool& done /*out*/, |
28cc06e4859a
Added ExtendedApiV1: /changes
Alain Mazy <am@orthanc.team>
parents:
5518
diff
changeset
|
50 int64_t since, |
28cc06e4859a
Added ExtendedApiV1: /changes
Alain Mazy <am@orthanc.team>
parents:
5518
diff
changeset
|
51 int64_t to, |
28cc06e4859a
Added ExtendedApiV1: /changes
Alain Mazy <am@orthanc.team>
parents:
5518
diff
changeset
|
52 uint32_t limit, |
28cc06e4859a
Added ExtendedApiV1: /changes
Alain Mazy <am@orthanc.team>
parents:
5518
diff
changeset
|
53 ChangeType filterType) |
28cc06e4859a
Added ExtendedApiV1: /changes
Alain Mazy <am@orthanc.team>
parents:
5518
diff
changeset
|
54 { |
28cc06e4859a
Added ExtendedApiV1: /changes
Alain Mazy <am@orthanc.team>
parents:
5518
diff
changeset
|
55 throw OrthancException(ErrorCode_NotImplemented); // Not supported |
28cc06e4859a
Added ExtendedApiV1: /changes
Alain Mazy <am@orthanc.team>
parents:
5518
diff
changeset
|
56 } |
28cc06e4859a
Added ExtendedApiV1: /changes
Alain Mazy <am@orthanc.team>
parents:
5518
diff
changeset
|
57 |
28cc06e4859a
Added ExtendedApiV1: /changes
Alain Mazy <am@orthanc.team>
parents:
5518
diff
changeset
|
58 |
5518 | 59 |
60 uint64_t BaseDatabaseWrapper::MeasureLatency() | |
61 { | |
62 throw OrthancException(ErrorCode_NotImplemented); // only implemented in V4 | |
63 } | |
5516 | 64 } |