quasardb 3.13.6.post1__cp37-cp37m-win_amd64.whl → 3.13.7__cp37-cp37m-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of quasardb might be problematic. Click here for more details.
- quasardb/CMakeFiles/generate.stamp.depend +1 -1
- quasardb/CMakeLists.txt +43 -22
- quasardb/INSTALL.vcxproj +11 -11
- quasardb/INSTALL.vcxproj.filters +2 -2
- quasardb/__init__.py +1 -1
- quasardb/add_boost_test.cmake +43 -0
- quasardb/batch_column.hpp +1 -1
- quasardb/batch_inserter.hpp +1 -1
- quasardb/blob.hpp +1 -1
- quasardb/cluster.hpp +42 -17
- quasardb/cmake_install.cmake +4 -4
- quasardb/concepts.hpp +30 -16
- quasardb/continuous.hpp +1 -1
- quasardb/convert/array.hpp +61 -7
- quasardb/convert/point.hpp +16 -11
- quasardb/convert/range.hpp +19 -25
- quasardb/convert/unicode.hpp +457 -149
- quasardb/convert/value.hpp +87 -18
- quasardb/convert.hpp +1 -1
- quasardb/date/ALL_BUILD.vcxproj +21 -21
- quasardb/date/ALL_BUILD.vcxproj.filters +1 -1
- quasardb/date/CMakeFiles/generate.stamp.depend +1 -1
- quasardb/date/INSTALL.vcxproj +11 -11
- quasardb/date/INSTALL.vcxproj.filters +2 -2
- quasardb/date/cmake_install.cmake +6 -6
- quasardb/date/date.sln +31 -31
- quasardb/date/dateTargets.cmake +2 -2
- quasardb/detail/qdb_resource.hpp +6 -6
- quasardb/detail/ts_column.hpp +1 -1
- quasardb/direct_blob.hpp +1 -1
- quasardb/direct_handle.hpp +1 -1
- quasardb/direct_integer.hpp +1 -1
- quasardb/{version.cpp → double.hpp} +46 -28
- quasardb/entry.hpp +1 -1
- quasardb/error.hpp +14 -10
- quasardb/handle.hpp +1 -1
- quasardb/integer.hpp +1 -1
- quasardb/logger.hpp +1 -1
- quasardb/masked_array.hpp +1 -1
- quasardb/module.cpp +73 -0
- quasardb/module.hpp +24 -0
- quasardb/node.hpp +16 -11
- quasardb/numpy/__init__.py +76 -7
- quasardb/numpy.hpp +1 -1
- quasardb/options.hpp +31 -9
- quasardb/pandas/__init__.py +1 -1
- quasardb/perf.hpp +6 -6
- quasardb/pinned_writer.hpp +1 -1
- quasardb/pybind11/ALL_BUILD.vcxproj +25 -25
- quasardb/pybind11/ALL_BUILD.vcxproj.filters +1 -1
- quasardb/pybind11/CMakeFiles/generate.stamp.depend +4 -4
- quasardb/pybind11/INSTALL.vcxproj +11 -11
- quasardb/pybind11/INSTALL.vcxproj.filters +2 -2
- quasardb/pybind11/cmake_install.cmake +1 -1
- quasardb/pybind11/pybind11.sln +31 -31
- quasardb/pytypes.hpp +2 -2
- quasardb/qdb_api.dll +0 -0
- quasardb/quasardb.pyd +0 -0
- quasardb/query.cpp +3 -3
- quasardb/query.hpp +1 -1
- quasardb/range-v3/ALL_BUILD.vcxproj +25 -25
- quasardb/range-v3/ALL_BUILD.vcxproj.filters +1 -1
- quasardb/range-v3/CMakeFiles/generate.stamp.depend +6 -6
- quasardb/range-v3/INSTALL.vcxproj +11 -11
- quasardb/range-v3/INSTALL.vcxproj.filters +2 -2
- quasardb/range-v3/Range-v3.sln +39 -39
- quasardb/range-v3/cmake_install.cmake +6 -6
- quasardb/range-v3/range-v3-config.cmake +3 -3
- quasardb/range-v3/range.v3.headers.vcxproj +338 -338
- quasardb/range-v3/range.v3.headers.vcxproj.filters +315 -315
- quasardb/reader/ts_row.hpp +1 -1
- quasardb/reader/ts_value.hpp +1 -1
- quasardb/string.hpp +160 -0
- quasardb/table.hpp +1 -1
- quasardb/table_reader.hpp +1 -1
- quasardb/tag.hpp +1 -1
- quasardb/timestamp.hpp +97 -0
- quasardb/utils.hpp +1 -1
- {quasardb-3.13.6.post1.dist-info → quasardb-3.13.7.dist-info}/LICENSE.md +1 -1
- {quasardb-3.13.6.post1.dist-info → quasardb-3.13.7.dist-info}/METADATA +1 -1
- quasardb-3.13.7.dist-info/RECORD +114 -0
- {quasardb-3.13.6.post1.dist-info → quasardb-3.13.7.dist-info}/WHEEL +1 -1
- quasardb/qdb_client.cpp +0 -67
- quasardb/version.hpp +0 -43
- quasardb-3.13.6.post1.dist-info/RECORD +0 -111
- {quasardb-3.13.6.post1.dist-info → quasardb-3.13.7.dist-info}/top_level.txt +0 -0
quasardb/reader/ts_row.hpp
CHANGED
quasardb/reader/ts_value.hpp
CHANGED
quasardb/string.hpp
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Official Python API
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) 2009-2023, quasardb SAS. All rights reserved.
|
|
6
|
+
* All rights reserved.
|
|
7
|
+
*
|
|
8
|
+
* Redistribution and use in source and binary forms, with or without
|
|
9
|
+
* modification, are permitted provided that the following conditions are met:
|
|
10
|
+
*
|
|
11
|
+
* * Redistributions of source code must retain the above copyright
|
|
12
|
+
* notice, this list of conditions and the following disclaimer.
|
|
13
|
+
* * Redistributions in binary form must reproduce the above copyright
|
|
14
|
+
* notice, this list of conditions and the following disclaimer in the
|
|
15
|
+
* documentation and/or other materials provided with the distribution.
|
|
16
|
+
* * Neither the name of quasardb nor the names of its contributors may
|
|
17
|
+
* be used to endorse or promote products derived from this software
|
|
18
|
+
* without specific prior written permission.
|
|
19
|
+
*
|
|
20
|
+
* THIS SOFTWARE IS PROVIDED BY QUASARDB AND CONTRIBUTORS ``AS IS'' AND ANY
|
|
21
|
+
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
22
|
+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
23
|
+
* DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY
|
|
24
|
+
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
25
|
+
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
26
|
+
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
27
|
+
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
28
|
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
29
|
+
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
30
|
+
*/
|
|
31
|
+
#pragma once
|
|
32
|
+
|
|
33
|
+
#include "entry.hpp"
|
|
34
|
+
#include <qdb/string.h>
|
|
35
|
+
#include "convert/value.hpp"
|
|
36
|
+
|
|
37
|
+
namespace qdb
|
|
38
|
+
{
|
|
39
|
+
namespace py = pybind11;
|
|
40
|
+
|
|
41
|
+
class string_entry : public expirable_entry
|
|
42
|
+
{
|
|
43
|
+
public:
|
|
44
|
+
string_entry(handle_ptr h, std::string a) noexcept
|
|
45
|
+
: expirable_entry{h, a}
|
|
46
|
+
{}
|
|
47
|
+
|
|
48
|
+
private:
|
|
49
|
+
py::str convert_and_release_content(const char * content, qdb_size_t content_length)
|
|
50
|
+
{
|
|
51
|
+
return convert_and_release_content(qdb_string_t{content, content_length});
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
py::str convert_and_release_content(qdb_string_t x)
|
|
55
|
+
{
|
|
56
|
+
if (x.data == nullptr || x.length == 0)
|
|
57
|
+
{
|
|
58
|
+
return py::str{};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
py::str ret = qdb::convert::value<qdb_string_t, py::str>(x);
|
|
62
|
+
|
|
63
|
+
qdb_release(*_handle, x.data);
|
|
64
|
+
return ret;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
public:
|
|
68
|
+
py::str get()
|
|
69
|
+
{
|
|
70
|
+
const char * content = nullptr;
|
|
71
|
+
qdb_size_t content_length = 0;
|
|
72
|
+
|
|
73
|
+
qdb::qdb_throw_if_error(
|
|
74
|
+
*_handle, qdb_string_get(*_handle, _alias.c_str(), &content, &content_length));
|
|
75
|
+
|
|
76
|
+
return convert_and_release_content(content, content_length);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
void put(const std::string & data)
|
|
80
|
+
{
|
|
81
|
+
qdb::qdb_throw_if_error(*_handle,
|
|
82
|
+
qdb_string_put(*_handle, _alias.c_str(), data.data(), data.size(), qdb_time_t{0}));
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
void update(const std::string & data,
|
|
86
|
+
std::chrono::system_clock::time_point expiry = std::chrono::system_clock::time_point{})
|
|
87
|
+
{
|
|
88
|
+
qdb::qdb_throw_if_error(*_handle,
|
|
89
|
+
qdb_string_update(*_handle, _alias.c_str(), data.data(), data.size(), qdb_time_t{0}));
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
void remove_if(const std::string & comparand)
|
|
93
|
+
{
|
|
94
|
+
qdb::qdb_throw_if_error(*_handle,
|
|
95
|
+
qdb_string_remove_if(*_handle, _alias.c_str(), comparand.data(), comparand.size()));
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
py::str get_and_remove()
|
|
99
|
+
{
|
|
100
|
+
const char * content = nullptr;
|
|
101
|
+
qdb_size_t content_length = 0;
|
|
102
|
+
|
|
103
|
+
qdb::qdb_throw_if_error(
|
|
104
|
+
*_handle, qdb_string_get_and_remove(*_handle, _alias.c_str(), &content, &content_length));
|
|
105
|
+
|
|
106
|
+
return convert_and_release_content(content, content_length);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
py::str get_and_update(const std::string & data)
|
|
110
|
+
{
|
|
111
|
+
const char * content = nullptr;
|
|
112
|
+
qdb_size_t content_length = 0;
|
|
113
|
+
|
|
114
|
+
qdb::qdb_throw_if_error(
|
|
115
|
+
*_handle, qdb_string_get_and_update(*_handle, _alias.c_str(), data.data(), data.size(),
|
|
116
|
+
qdb_time_t{0}, &content, &content_length));
|
|
117
|
+
|
|
118
|
+
return convert_and_release_content(content, content_length);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
py::str compare_and_swap(const std::string & new_value, const std::string & comparand)
|
|
122
|
+
{
|
|
123
|
+
const char * content = nullptr;
|
|
124
|
+
qdb_size_t content_length = 0;
|
|
125
|
+
|
|
126
|
+
qdb_error_t err =
|
|
127
|
+
qdb_string_compare_and_swap(*_handle, _alias.c_str(), new_value.data(), new_value.size(),
|
|
128
|
+
comparand.data(), comparand.size(), qdb_time_t{0}, &content, &content_length);
|
|
129
|
+
|
|
130
|
+
// we don't want to throw on "unmatching content", so we don't use the qdb::qdb_throw_if_error
|
|
131
|
+
// function
|
|
132
|
+
if (QDB_FAILURE(err))
|
|
133
|
+
{
|
|
134
|
+
qdb_throw_if_error(*_handle, err);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
return convert_and_release_content(content, content_length);
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
template <typename Module>
|
|
142
|
+
static inline void register_string(Module & m)
|
|
143
|
+
{
|
|
144
|
+
namespace py = pybind11;
|
|
145
|
+
|
|
146
|
+
py::class_<qdb::string_entry, qdb::expirable_entry>(m, "String") //
|
|
147
|
+
.def(py::init<qdb::handle_ptr, std::string>()) //
|
|
148
|
+
.def("get", &qdb::string_entry::get) //
|
|
149
|
+
.def("put", &qdb::string_entry::put, py::arg("data")) //
|
|
150
|
+
.def("update", &qdb::string_entry::update, py::arg("data"),
|
|
151
|
+
py::arg("expiry") = std::chrono::system_clock::time_point{}) //
|
|
152
|
+
.def("remove_if", &qdb::string_entry::remove_if, py::arg("comparand")) //
|
|
153
|
+
.def("get_and_remove", &qdb::string_entry::get_and_remove) //
|
|
154
|
+
.def("get_and_update", &qdb::string_entry::get_and_update, //
|
|
155
|
+
py::arg("data")) //
|
|
156
|
+
.def("compare_and_swap", &qdb::string_entry::compare_and_swap, //
|
|
157
|
+
py::arg("new_content"), py::arg("comparand")); //
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
} // namespace qdb
|
quasardb/table.hpp
CHANGED
quasardb/table_reader.hpp
CHANGED
quasardb/tag.hpp
CHANGED
quasardb/timestamp.hpp
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Official Python API
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) 2009-2023, quasardb SAS. All rights reserved.
|
|
6
|
+
* All rights reserved.
|
|
7
|
+
*
|
|
8
|
+
* Redistribution and use in source and binary forms, with or without
|
|
9
|
+
* modification, are permitted provided that the following conditions are met:
|
|
10
|
+
*
|
|
11
|
+
* * Redistributions of source code must retain the above copyright
|
|
12
|
+
* notice, this list of conditions and the following disclaimer.
|
|
13
|
+
* * Redistributions in binary form must reproduce the above copyright
|
|
14
|
+
* notice, this list of conditions and the following disclaimer in the
|
|
15
|
+
* documentation and/or other materials provided with the distribution.
|
|
16
|
+
* * Neither the name of quasardb nor the names of its contributors may
|
|
17
|
+
* be used to endorse or promote products derived from this software
|
|
18
|
+
* without specific prior written permission.
|
|
19
|
+
*
|
|
20
|
+
* THIS SOFTWARE IS PROVIDED BY QUASARDB AND CONTRIBUTORS ``AS IS'' AND ANY
|
|
21
|
+
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
22
|
+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
23
|
+
* DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY
|
|
24
|
+
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
25
|
+
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
26
|
+
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
27
|
+
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
28
|
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
29
|
+
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
30
|
+
*/
|
|
31
|
+
#pragma once
|
|
32
|
+
|
|
33
|
+
#include "entry.hpp"
|
|
34
|
+
#include "pytypes.hpp"
|
|
35
|
+
#include <qdb/timestamp.h>
|
|
36
|
+
#include "convert/value.hpp"
|
|
37
|
+
#include <chrono>
|
|
38
|
+
|
|
39
|
+
namespace qdb
|
|
40
|
+
{
|
|
41
|
+
|
|
42
|
+
class timestamp_entry : public expirable_entry
|
|
43
|
+
{
|
|
44
|
+
using clock_t = std::chrono::system_clock;
|
|
45
|
+
|
|
46
|
+
public:
|
|
47
|
+
timestamp_entry(handle_ptr h, std::string a) noexcept
|
|
48
|
+
: expirable_entry{h, a}
|
|
49
|
+
{}
|
|
50
|
+
|
|
51
|
+
public:
|
|
52
|
+
qdb::pydatetime get()
|
|
53
|
+
{
|
|
54
|
+
qdb_timespec_t result;
|
|
55
|
+
qdb::qdb_throw_if_error(*_handle, qdb_timestamp_get(*_handle, _alias.c_str(), &result));
|
|
56
|
+
return qdb::convert::value<qdb_timespec_t, qdb::pydatetime>(result);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
void put(qdb::pydatetime val)
|
|
60
|
+
{
|
|
61
|
+
qdb_timespec_t val_ = qdb::convert::value<qdb::pydatetime, qdb_timespec_t>(val);
|
|
62
|
+
qdb::qdb_throw_if_error(
|
|
63
|
+
*_handle, qdb_timestamp_put(*_handle, _alias.c_str(), &val_, qdb_time_t{0}));
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
void update(qdb::pydatetime val)
|
|
67
|
+
{
|
|
68
|
+
qdb_timespec_t val_ = qdb::convert::value<qdb::pydatetime, qdb_timespec_t>(val);
|
|
69
|
+
qdb::qdb_throw_if_error(
|
|
70
|
+
*_handle, qdb_timestamp_update(*_handle, _alias.c_str(), &val_, qdb_time_t{0}));
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
qdb::pydatetime add(qdb::pydatetime val)
|
|
74
|
+
{
|
|
75
|
+
qdb_timespec_t val_ = qdb::convert::value<qdb::pydatetime, qdb_timespec_t>(val);
|
|
76
|
+
qdb_timespec_t result;
|
|
77
|
+
qdb::qdb_throw_if_error(*_handle, qdb_timestamp_add(*_handle, _alias.c_str(), &val_, &result));
|
|
78
|
+
|
|
79
|
+
return qdb::convert::value<qdb_timespec_t, qdb::pydatetime>(result);
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
template <typename Module>
|
|
84
|
+
static inline void register_timestamp(Module & m)
|
|
85
|
+
{
|
|
86
|
+
namespace py = pybind11;
|
|
87
|
+
|
|
88
|
+
py::class_<qdb::timestamp_entry, qdb::expirable_entry>(m, "Timestamp") //
|
|
89
|
+
.def(py::init<qdb::handle_ptr, std::string>()) //
|
|
90
|
+
.def("get", &qdb::timestamp_entry::get) //
|
|
91
|
+
.def("put", &qdb::timestamp_entry::put, py::arg("timestamp")) //
|
|
92
|
+
.def("update", &qdb::timestamp_entry::update, py::arg("timestamp")) //
|
|
93
|
+
.def("add", &qdb::timestamp_entry::add, py::arg("addend")) //
|
|
94
|
+
; //
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
} // namespace qdb
|
quasardb/utils.hpp
CHANGED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
quasardb/CMakeLists.txt,sha256=htI2AQynD-b-aC1Q5-PWH0ddYMVbZhoPk4fsymrtfDs,15192
|
|
2
|
+
quasardb/INSTALL.vcxproj,sha256=eqIjVy3ucTRQ0TaAD6ZLTYCK-m0MzoZNgfA5CwQ2BAo,10405
|
|
3
|
+
quasardb/INSTALL.vcxproj.filters,sha256=uuXrRNkGU45IrSYA91yn5svFSKLfQ_F7isynNzkGai0,564
|
|
4
|
+
quasardb/__init__.py,sha256=S5HGH9idLoUES_9XSqHnEixEC6VKwzcubJlnVvWi22E,3801
|
|
5
|
+
quasardb/add_boost_test.cmake,sha256=A-r1WMqPO12BwWA1N-nGwtdemRWBNIOmH_eBy0pLn6w,1208
|
|
6
|
+
quasardb/batch_column.hpp,sha256=txW9kYMgQzJiJlM5nD7LIVuAZpyidpS4MopPGKE95u0,3388
|
|
7
|
+
quasardb/batch_inserter.hpp,sha256=bM73Z-IKow89GqoYaxDLDd0YuaN5Il4C5TjIVx9bI-Y,9803
|
|
8
|
+
quasardb/blob.hpp,sha256=PObdSJxKNLIihBCLBxQHHH20t7VOmZG02wOfy8rB1-w,5846
|
|
9
|
+
quasardb/cluster.hpp,sha256=dMAd7Pte04MIGxEnSNNr2jRShGbAUjYj81U9Qs6qEpA,16853
|
|
10
|
+
quasardb/cmake_install.cmake,sha256=4uFWKGpBANmYufQFtxKy1b3TuIw2ph87zfc9GzHuPso,1500
|
|
11
|
+
quasardb/concepts.hpp,sha256=Ao-UKFVjh7kRqeqsYXioV1LXiKXBR_1l54hRvUCjxKU,9574
|
|
12
|
+
quasardb/continuous.cpp,sha256=18-VX7BZA60wkUq75ADU7yfgmwzT_CkG_tEAKxAVkLU,4566
|
|
13
|
+
quasardb/continuous.hpp,sha256=eMnVl3T1a_LUaZR8sc48pTx-ECyKL_5LzoZA7ixQks0,4327
|
|
14
|
+
quasardb/convert.hpp,sha256=Bp1vQieJ7F6BE_yQgPU2wfgrkv012FbOI5X9O5tXQAI,1830
|
|
15
|
+
quasardb/direct_blob.hpp,sha256=f7RGYgy9lBvC_ln75Bh4cgPQ-DCLUzeb7NON5zQVsHA,3917
|
|
16
|
+
quasardb/direct_handle.hpp,sha256=_fLsaC-TKiA8ksudLYyaWakITyScXPnJS4yMrxvTY_Q,2782
|
|
17
|
+
quasardb/direct_integer.hpp,sha256=jHwNnAcB9wodgju8SBOsyPKWlifM094kENKSwySrSb8,3333
|
|
18
|
+
quasardb/dispatch.hpp,sha256=YWqTq9ehXWpphJ9piWwrKUzy3IgA5d9An0loAYQsUlg,5508
|
|
19
|
+
quasardb/double.hpp,sha256=SW1z9QW09mC_8ggvleMZolivu2BHjF157IVKT_Jw638,3239
|
|
20
|
+
quasardb/entry.hpp,sha256=IE6uL341x6U5dos40LhVKSJPuYZwod-oRy4PoF5a_80,9451
|
|
21
|
+
quasardb/error.hpp,sha256=0Wkkw6se9MLbHBHFO9hHsuG2u2z473ZEPLySGXUv3Pk,9994
|
|
22
|
+
quasardb/firehose.py,sha256=DHYsew-aL1j5PKZonH30CrhXnwHEX1XIAhGbPrzd4PY,3593
|
|
23
|
+
quasardb/handle.hpp,sha256=Sv8ICG6795uVz4h5b6V94Lryd08QQ1Qo6QMmvR7wCUA,2498
|
|
24
|
+
quasardb/integer.hpp,sha256=H5x8SEqlyI2nQZL9iv4GnCL0uWYuq8l8YYUzI83t0aE,3304
|
|
25
|
+
quasardb/logger.cpp,sha256=TK5W1xIwIoXy7pLeCXkq2PEU8x6O8xXQ8w4GWDbmPbU,3030
|
|
26
|
+
quasardb/logger.hpp,sha256=jYa0IENe1SlQjrdaVi6Agyicg7nVCN-zjsvp7OfVcIE,7223
|
|
27
|
+
quasardb/masked_array.hpp,sha256=JpxchJ1MuG34wiDzVfiSHVQe_23OkB0TaOa2C8kgQRI,18638
|
|
28
|
+
quasardb/module.cpp,sha256=-eLX6tMskEryUU_kONwA73C6M3I6_euW3Bx5DN2rsPs,2165
|
|
29
|
+
quasardb/module.hpp,sha256=-zRcQ_lgVz4IEP3tokX4AeA33DYJ3jsq8vWX6OnE0Ic,604
|
|
30
|
+
quasardb/node.hpp,sha256=_rcwUA9mOFW7b7I3B3Ll3aaBO0RoKV3LS19JITaIi6A,4771
|
|
31
|
+
quasardb/numpy.cpp,sha256=0brRs6lnIpsCNvpu3twIcjizy3lMOvCBT0O4rjKAn0I,189
|
|
32
|
+
quasardb/numpy.hpp,sha256=j2xGIFn98L4AAirxnkF6JaAwUBL1McfUBNsf4tlKPA0,15668
|
|
33
|
+
quasardb/object_tracker.hpp,sha256=zPYAhmifWjxvsHALvKvqx-5fqTiYapCk51W3na2CTvo,7563
|
|
34
|
+
quasardb/options.hpp,sha256=VtHYjLxuX3dIv_dYaQFIQ_5sPFRP7YJcMHvek_ehvxM,9034
|
|
35
|
+
quasardb/perf.hpp,sha256=C7dM0ZZZ4Ln5pDnZpvvUMgdwLUp4Tom51JuZICSYGGI,11364
|
|
36
|
+
quasardb/pinned_writer.cpp,sha256=m3Nvr1G3saYo26LxcbE60onCWZmE48ZT689I2d_q4tw,11541
|
|
37
|
+
quasardb/pinned_writer.hpp,sha256=jey-JuoKU0hzjyt8vNkkFNUUEGxeuDZ6akFKDJl0lWI,13514
|
|
38
|
+
quasardb/pool.py,sha256=lqVZPFejmNHU7EdyeoPkl7yy_-N3BRyuLhNTzIdtg8g,8743
|
|
39
|
+
quasardb/pytypes.hpp,sha256=YTc6xdmxMGMWtrZHitAl3vudZxYctOX1NwL-QDuzz1g,6894
|
|
40
|
+
quasardb/qdb_api.dll,sha256=T55MKPZpniIlfVXUD6i5t0ty5KUpOApQ4uPvedKsezI,13110784
|
|
41
|
+
quasardb/quasardb.pyd,sha256=hCakjZNluZ0RyuhZZAizOhjJOjw1QjTYlZ1YQ3GpJtg,1268224
|
|
42
|
+
quasardb/query.cpp,sha256=s3T2eaNBgJ93hEEOQbEx21sLabg16mMSuUQMwHXar7g,12558
|
|
43
|
+
quasardb/query.hpp,sha256=dBFJ0FVNJN-WdCwbHU1iNbEzDHarGGDQaZ5gto-xwkY,3357
|
|
44
|
+
quasardb/remove_cvref.hpp,sha256=vKUecNoA2-BIiZeP8NuO3GgBOMF-OVSn_43LJCuDozA,611
|
|
45
|
+
quasardb/stats.py,sha256=LDV4F5KTpEXa5sS_syFo_TYn9_W2X1D32Eb43GLutOs,7620
|
|
46
|
+
quasardb/string.hpp,sha256=xgvRf1TXy3nl45WeCHHhtO8toUYZ2Zo7RuvTAntIgZM,6071
|
|
47
|
+
quasardb/table.cpp,sha256=MJkgJ4I9cmORDMgD4lmuOu6UhsqKwI2x33ah3ZllfB8,9689
|
|
48
|
+
quasardb/table.hpp,sha256=GvLOYkyZGDTErWiG70TzTOitnZmTd_Edlv2DrRvfnyk,10185
|
|
49
|
+
quasardb/table_reader.hpp,sha256=VpfHxecDa10n3VSoUAoLRaGgrsAvZSuWe_UHZhgUK3E,6882
|
|
50
|
+
quasardb/tag.hpp,sha256=gIs8LDa4o0JJBGuSQXsnyVeORax7KH0jHCyt0Zx6JMs,2732
|
|
51
|
+
quasardb/timestamp.hpp,sha256=f2TLql7D-gTQbJMUdC9QKbHpbnkMPoDi0dHAF2IVrqc,3889
|
|
52
|
+
quasardb/traits.hpp,sha256=RLSJBeZbFsWRQAsZSm6GbV2a2-5jounsJ_TX0iSvyHI,16383
|
|
53
|
+
quasardb/ts_iterator.hpp,sha256=faP1HVGYbWubKr98yhkS6gqvyMiKWkl3tgedJfj2u1E,4395
|
|
54
|
+
quasardb/utils.cpp,sha256=PkuVxrj1cQfeVujA-kefx9-P0B6IJNtYDQzedCAMjKY,634
|
|
55
|
+
quasardb/utils.hpp,sha256=ZedlY9Ahdphyi8tm2CySYb2k1RJTaDFqDBy3dvg-rJ8,4724
|
|
56
|
+
quasardb/CMakeFiles/generate.stamp,sha256=MC9-mgyGPAS3QAZa3gHSQ8dYfXJy_Hn7AChwEoqVWOs,55
|
|
57
|
+
quasardb/CMakeFiles/generate.stamp.depend,sha256=yhn5xQccKPzdQ16SXrV_yEDoQBKtxlxmRTaGp0um90c,117
|
|
58
|
+
quasardb/convert/array.hpp,sha256=b9rp05GpUN9J2_LLdQV_WxTvZT02kE7Q1vk6rAUbSew,9161
|
|
59
|
+
quasardb/convert/point.hpp,sha256=82hOqdbf2DUQde_OAfxWml8BgAPM0cixTF5joCIwfmM,11800
|
|
60
|
+
quasardb/convert/range.hpp,sha256=yYUqRIUKj-xlwOHRztRYGXTrSLSfEkTZQs2nLAM-tVU,11116
|
|
61
|
+
quasardb/convert/unicode.hpp,sha256=eW3OwKMnFrOJ9ftUzA6MeVH5nZMuT3q9vuDzxn97pSQ,15600
|
|
62
|
+
quasardb/convert/util.hpp,sha256=Ldie5abmB4H_OFvykp0twzwAzOw_hyaUr85Ob3Qr-ko,582
|
|
63
|
+
quasardb/convert/value.hpp,sha256=M5lmnVn4V1KBemKtq5G9ttxSUSOzeCVqohAMYoRr0pw,23396
|
|
64
|
+
quasardb/date/ALL_BUILD.vcxproj,sha256=VXMQrECRyRE--L-v6xK-agTxXntwwCknBVlgfLuYIfo,13228
|
|
65
|
+
quasardb/date/ALL_BUILD.vcxproj.filters,sha256=0rIDAA4m2owcMpqADOdaC3nWHPIb2X0zdGRNoVOwIrU,304
|
|
66
|
+
quasardb/date/INSTALL.vcxproj,sha256=g1ymJxRCpsynHdDYXmnnC5PAk_xjWPCyVGVgR37ePKY,10430
|
|
67
|
+
quasardb/date/INSTALL.vcxproj.filters,sha256=c--1i54xrcBpCfH4Bak3s8cFSJcVVi7Yq-PujEg92Wc,564
|
|
68
|
+
quasardb/date/cmake_install.cmake,sha256=K0788LKE61L6cltZcpGmU_xTiPFHpVWkGNRq6drIUoI,3015
|
|
69
|
+
quasardb/date/date.sln,sha256=pldm7lXRVruP1nLoo8bP6-9kxHI70iu1Xc0-EnJVkLc,3660
|
|
70
|
+
quasardb/date/dateConfigVersion.cmake,sha256=8jbm60CeIqygj1coA55dqWDLvM8VxKbwkpTdSG4McIc,2948
|
|
71
|
+
quasardb/date/dateTargets.cmake,sha256=-N_Wn5oTi9PhFVWd96Aeo2EpkWiQTI2Nck3xJWfp6oQ,2977
|
|
72
|
+
quasardb/date/CMakeFiles/generate.stamp,sha256=MC9-mgyGPAS3QAZa3gHSQ8dYfXJy_Hn7AChwEoqVWOs,55
|
|
73
|
+
quasardb/date/CMakeFiles/generate.stamp.depend,sha256=6qkYtjUF78YVOiO5UxhM3kcKkJtEbUJwQjgrmMjcxgc,450
|
|
74
|
+
quasardb/date/CMakeFiles/Export/df49adab93b9e0c10c64f72458b31971/dateTargets.cmake,sha256=5hepIqwu5WtmdMoFVkRvh22_YuOJwvIrdny8I03rp4k,4102
|
|
75
|
+
quasardb/detail/qdb_resource.hpp,sha256=wq9xtlgmRIb--n6yeJGWpZKvKXsiOfeCYFIXa8FA2bw,3165
|
|
76
|
+
quasardb/detail/ts_column.hpp,sha256=37JhDJuItZ5ze0oBAjEIRKPCHHfgUmy4nHaQlYSQUZw,7555
|
|
77
|
+
quasardb/extensions/__init__.py,sha256=ECUqOzhmNhEC9wRt2lAYeeMCUriLdslbS224XqpMGgc,153
|
|
78
|
+
quasardb/extensions/pinned_writer.py,sha256=ba2YPRZtvFG38LWUOaoRB5gFTKzJXjKP_rqRou0UDeg,5884
|
|
79
|
+
quasardb/numpy/__init__.py,sha256=McuvSFKt_0CUhNxxFEVd9-vzbXw0goGT177q53ktNI0,28189
|
|
80
|
+
quasardb/pandas/__init__.py,sha256=kTHBqaD44A5hNwTMrGHqtegLdZH3Urmz483AFOIY434,15952
|
|
81
|
+
quasardb/pybind11/ALL_BUILD.vcxproj,sha256=Z_nHKskOapMZgUgxLhc_gBNEuCfINNRzGDdYkXe81_8,17364
|
|
82
|
+
quasardb/pybind11/ALL_BUILD.vcxproj.filters,sha256=P8qVO2Wtr7Bx1QTb93FsaPplkZ9PF3hjdxz_60IQLCM,308
|
|
83
|
+
quasardb/pybind11/INSTALL.vcxproj,sha256=4quxPuPEjQ-8tTZFhFGpPh__BWZMPTAycCsLH8-lzik,10450
|
|
84
|
+
quasardb/pybind11/INSTALL.vcxproj.filters,sha256=BbbtzEWRY6Wd-fRyQdZ2tNjByPEDKyYlaAL7P_NYG98,564
|
|
85
|
+
quasardb/pybind11/cmake_install.cmake,sha256=QoNeqjjsMtnzhMpDprDcpSRoDvoJ6dAVR3dqnEJTKSM,1060
|
|
86
|
+
quasardb/pybind11/pybind11.sln,sha256=SFbgn1dPjjnw06vaA7NdTwS7NiJWkxnU1ktCDF4NZEc,3660
|
|
87
|
+
quasardb/pybind11/CMakeFiles/generate.stamp,sha256=MC9-mgyGPAS3QAZa3gHSQ8dYfXJy_Hn7AChwEoqVWOs,55
|
|
88
|
+
quasardb/pybind11/CMakeFiles/generate.stamp.depend,sha256=zIVMIiYTgWEN2b5_FEhA_238714Kgss8kX_GWI93xeA,1488
|
|
89
|
+
quasardb/range-v3/ALL_BUILD.vcxproj,sha256=u_Z07rjevaDahG_Sp4h0KCXQZIttoMAw1sW3Ksucn_c,16808
|
|
90
|
+
quasardb/range-v3/ALL_BUILD.vcxproj.filters,sha256=fciZcAu4nuunuwOVTOEnThOH3a2SUS3jPP7KoI0O7eo,308
|
|
91
|
+
quasardb/range-v3/INSTALL.vcxproj,sha256=a3dHBWo7M2J864gAtL6j5wFnd3V31sHt_GgAtFqU5YE,10450
|
|
92
|
+
quasardb/range-v3/INSTALL.vcxproj.filters,sha256=9mXvtl24ACVzMK8yfgvpiEIzy2BpYGEV0cgFA_GdByI,564
|
|
93
|
+
quasardb/range-v3/Range-v3.sln,sha256=O0WHOTMBMgXd7pxoy_fuZjLeDkPMJft1Gq1gpw6Zm8c,4506
|
|
94
|
+
quasardb/range-v3/cmake_install.cmake,sha256=GVt5ICX4BPO9bPX_3OZL0BexSn_n6FHWCr6x9gxkUss,3178
|
|
95
|
+
quasardb/range-v3/range-v3-config-version.cmake,sha256=pHYj95sr3rDpNyK2mydblBtfOYH9afymxcFPHelxMZs,3453
|
|
96
|
+
quasardb/range-v3/range-v3-config.cmake,sha256=ytEnXZnYmxQBaeD2JARStak_mnfO7zeu-REjAY-pWFU,3593
|
|
97
|
+
quasardb/range-v3/range.v3.headers.vcxproj,sha256=jYif4_WqytzTx_g7rWcpUp0GfSqOqwFwmbOYYf3fcbM,56490
|
|
98
|
+
quasardb/range-v3/range.v3.headers.vcxproj.filters,sha256=kDsjRMeAKbNH3P775bSEwfgb_jzYN1vGRsVKr4JMA1c,51825
|
|
99
|
+
quasardb/range-v3/CMakeFiles/generate.stamp,sha256=MC9-mgyGPAS3QAZa3gHSQ8dYfXJy_Hn7AChwEoqVWOs,55
|
|
100
|
+
quasardb/range-v3/CMakeFiles/generate.stamp.depend,sha256=kIKs1qG4Gvgb6LGqvoRpdVBTrHeXO2cU8sAYGxDJ3og,1348
|
|
101
|
+
quasardb/range-v3/CMakeFiles/Export/d94ef200eca10a819b5858b33e808f5b/range-v3-targets.cmake,sha256=7oWm2wsmqpiAL4Eo17HbvCz5gvGyaLyJC3pg3eo1HNU,5306
|
|
102
|
+
quasardb/range-v3/include/range/v3/version.hpp,sha256=jy6iEzXjaavicAw1VSIfvpS7Wu9IoEY51Q5N9m4eaB8,610
|
|
103
|
+
quasardb/reader/ts_row.hpp,sha256=luzqS9qGjWcsJp6fENGbV5KQ-HXO9_ZS4ucyuVXckYQ,9690
|
|
104
|
+
quasardb/reader/ts_value.hpp,sha256=9xfhN7iHNxebO-OTmKYi2fs7I9sBAkPka1sLC8SuVkY,7048
|
|
105
|
+
quasardb/utils/blob_deque.hpp,sha256=YLp0eG1fSQXIFo46rZ8YIeTSNRJSdmmtdhC2z-qMa08,2540
|
|
106
|
+
quasardb/utils/ostream.hpp,sha256=KYFwqXuZoxuZblHUM-z5xrd74P2Y5zWJqVpaQ9oedAo,390
|
|
107
|
+
quasardb/utils/permutation.hpp,sha256=BwJzgZmpS4G-oS7249GvnUFj_cmqSAbF2Fzb8wuihLo,1552
|
|
108
|
+
quasardb/utils/stable_sort.hpp,sha256=luIK9T76mT0NyDxpLxXjTt1eSSKEOY29jRANJNysJCo,489
|
|
109
|
+
quasardb/utils/unzip_view.hpp,sha256=nn6BSAI_cGsKgBh8WXhAUJ6Zzn3N0AnhtE6ePmhPeQM,2476
|
|
110
|
+
quasardb-3.13.7.dist-info/LICENSE.md,sha256=yqGeNifkwT_AQEPv0TwLxEdD9TgORqUjS01rgzG5EGY,1477
|
|
111
|
+
quasardb-3.13.7.dist-info/METADATA,sha256=btfNr4EwnC9dzXdaNyW1Tupv45apC6qN8uS1JAEn9yM,1491
|
|
112
|
+
quasardb-3.13.7.dist-info/WHEEL,sha256=eaY3ejwL19QEEyHRYuTgC3FZQgNYBpzCION1l_gJUb8,101
|
|
113
|
+
quasardb-3.13.7.dist-info/top_level.txt,sha256=wlprix4hCywuF1PkgKWYdZeJKq_kgJOqkAvukm_sZQ8,9
|
|
114
|
+
quasardb-3.13.7.dist-info/RECORD,,
|
quasardb/qdb_client.cpp
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
*
|
|
3
|
-
* Official Python API
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) 2009-2022, quasardb SAS. All rights reserved.
|
|
6
|
-
* All rights reserved.
|
|
7
|
-
*
|
|
8
|
-
* Redistribution and use in source and binary forms, with or without
|
|
9
|
-
* modification, are permitted provided that the following conditions are met:
|
|
10
|
-
*
|
|
11
|
-
* * Redistributions of source code must retain the above copyright
|
|
12
|
-
* notice, this list of conditions and the following disclaimer.
|
|
13
|
-
* * Redistributions in binary form must reproduce the above copyright
|
|
14
|
-
* notice, this list of conditions and the following disclaimer in the
|
|
15
|
-
* documentation and/or other materials provided with the distribution.
|
|
16
|
-
* * Neither the name of quasardb nor the names of its contributors may
|
|
17
|
-
* be used to endorse or promote products derived from this software
|
|
18
|
-
* without specific prior written permission.
|
|
19
|
-
*
|
|
20
|
-
* THIS SOFTWARE IS PROVIDED BY QUASARDB AND CONTRIBUTORS ``AS IS'' AND ANY
|
|
21
|
-
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
22
|
-
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
23
|
-
* DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY
|
|
24
|
-
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
25
|
-
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
26
|
-
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
27
|
-
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
28
|
-
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
29
|
-
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
30
|
-
*/
|
|
31
|
-
#include "cluster.hpp"
|
|
32
|
-
#include "node.hpp"
|
|
33
|
-
#include <pybind11/pybind11.h>
|
|
34
|
-
|
|
35
|
-
namespace py = pybind11;
|
|
36
|
-
|
|
37
|
-
PYBIND11_MODULE(quasardb, m)
|
|
38
|
-
{
|
|
39
|
-
m.doc() = "QuasarDB Official Python API";
|
|
40
|
-
m.def("version", &qdb_version, "Return version number");
|
|
41
|
-
m.def("build", &qdb_build, "Return build number");
|
|
42
|
-
m.attr("never_expires") = std::chrono::system_clock::time_point{};
|
|
43
|
-
|
|
44
|
-
qdb::register_errors(m);
|
|
45
|
-
qdb::register_cluster(m);
|
|
46
|
-
qdb::register_node(m);
|
|
47
|
-
qdb::register_options(m);
|
|
48
|
-
qdb::register_perf(m);
|
|
49
|
-
qdb::register_entry(m);
|
|
50
|
-
qdb::register_blob(m);
|
|
51
|
-
qdb::register_integer(m);
|
|
52
|
-
qdb::register_direct_blob(m);
|
|
53
|
-
qdb::register_direct_integer(m);
|
|
54
|
-
qdb::register_tag(m);
|
|
55
|
-
qdb::register_query(m);
|
|
56
|
-
qdb::register_continuous(m);
|
|
57
|
-
qdb::register_table(m);
|
|
58
|
-
qdb::register_batch_column(m);
|
|
59
|
-
qdb::register_batch_inserter(m);
|
|
60
|
-
qdb::register_pinned_writer(m);
|
|
61
|
-
qdb::register_table_reader(m);
|
|
62
|
-
qdb::register_masked_array(m);
|
|
63
|
-
|
|
64
|
-
qdb::detail::register_ts_column(m);
|
|
65
|
-
qdb::reader::register_ts_value(m);
|
|
66
|
-
qdb::reader::register_ts_row(m);
|
|
67
|
-
}
|
quasardb/version.hpp
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
*
|
|
3
|
-
* Official Python API
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) 2009-2022, quasardb SAS. All rights reserved.
|
|
6
|
-
* All rights reserved.
|
|
7
|
-
*
|
|
8
|
-
* Redistribution and use in source and binary forms, with or without
|
|
9
|
-
* modification, are permitted provided that the following conditions are met:
|
|
10
|
-
*
|
|
11
|
-
* * Redistributions of source code must retain the above copyright
|
|
12
|
-
* notice, this list of conditions and the following disclaimer.
|
|
13
|
-
* * Redistributions in binary form must reproduce the above copyright
|
|
14
|
-
* notice, this list of conditions and the following disclaimer in the
|
|
15
|
-
* documentation and/or other materials provided with the distribution.
|
|
16
|
-
* * Neither the name of quasardb nor the names of its contributors may
|
|
17
|
-
* be used to endorse or promote products derived from this software
|
|
18
|
-
* without specific prior written permission.
|
|
19
|
-
*
|
|
20
|
-
* THIS SOFTWARE IS PROVIDED BY QUASARDB AND CONTRIBUTORS ``AS IS'' AND ANY
|
|
21
|
-
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
22
|
-
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
23
|
-
* DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY
|
|
24
|
-
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
25
|
-
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
26
|
-
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
27
|
-
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
28
|
-
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
29
|
-
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
30
|
-
*/
|
|
31
|
-
namespace qdb
|
|
32
|
-
{
|
|
33
|
-
|
|
34
|
-
extern const char * const qdb_c_api_version;
|
|
35
|
-
|
|
36
|
-
// Checks that the host QDB C API version matches the QDB C API version used for the build.
|
|
37
|
-
// The check only compares `major` and `minor` version numbers and throws when there is a mismatch
|
|
38
|
-
// or when fed with an invalid version string.
|
|
39
|
-
// This simple tests allows to simply rule out a commonly met faulty config when troubleshooting Python
|
|
40
|
-
// API issues
|
|
41
|
-
void check_qdb_c_api_version(const char * candidate);
|
|
42
|
-
|
|
43
|
-
} // namespace qdb
|