quasardb 3.14.2.dev0__cp311-cp311-win_amd64.whl → 3.14.2.dev4__cp311-cp311-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.

Files changed (96) hide show
  1. quasardb/INSTALL.vcxproj +9 -4
  2. quasardb/__init__.py +33 -4
  3. quasardb/cmake_install.cmake +6 -0
  4. quasardb/date/ALL_BUILD.vcxproj +9 -8
  5. quasardb/date/CMakeFiles/Export/df49adab93b9e0c10c64f72458b31971/dateTargets.cmake +13 -13
  6. quasardb/date/CMakeFiles/generate.stamp.depend +4 -4
  7. quasardb/date/INSTALL.vcxproj +9 -4
  8. quasardb/date/cmake_install.cmake +6 -0
  9. quasardb/date/dateConfigVersion.cmake +0 -5
  10. quasardb/date/dateTargets.cmake +4 -8
  11. quasardb/numpy/__init__.py +58 -10
  12. quasardb/pandas/__init__.py +58 -102
  13. quasardb/pybind11/ALL_BUILD.vcxproj +9 -8
  14. quasardb/pybind11/CMakeFiles/generate.stamp.depend +14 -14
  15. quasardb/pybind11/INSTALL.vcxproj +9 -4
  16. quasardb/pybind11/cmake_install.cmake +6 -0
  17. quasardb/qdb_api.dll +0 -0
  18. quasardb/quasardb.cp311-win_amd64.pyd +0 -0
  19. quasardb/range-v3/ALL_BUILD.vcxproj +9 -8
  20. quasardb/range-v3/CMakeFiles/Export/d94ef200eca10a819b5858b33e808f5b/range-v3-targets.cmake +13 -13
  21. quasardb/range-v3/CMakeFiles/generate.stamp.depend +11 -11
  22. quasardb/range-v3/INSTALL.vcxproj +9 -4
  23. quasardb/range-v3/cmake_install.cmake +42 -0
  24. quasardb/range-v3/range-v3-config-version.cmake +0 -5
  25. quasardb/range-v3/range-v3-config.cmake +4 -8
  26. quasardb/range-v3/range.v3.headers.vcxproj +9 -8
  27. {quasardb-3.14.2.dev0.dist-info → quasardb-3.14.2.dev4.dist-info}/METADATA +15 -10
  28. quasardb-3.14.2.dev4.dist-info/RECORD +54 -0
  29. {quasardb-3.14.2.dev0.dist-info → quasardb-3.14.2.dev4.dist-info}/WHEEL +1 -1
  30. quasardb/CMakeLists.txt +0 -500
  31. quasardb/batch_column.hpp +0 -80
  32. quasardb/batch_inserter.hpp +0 -248
  33. quasardb/blob.hpp +0 -150
  34. quasardb/cluster.cpp +0 -89
  35. quasardb/cluster.hpp +0 -551
  36. quasardb/concepts.hpp +0 -278
  37. quasardb/continuous.cpp +0 -149
  38. quasardb/continuous.hpp +0 -106
  39. quasardb/convert/array.hpp +0 -282
  40. quasardb/convert/point.hpp +0 -330
  41. quasardb/convert/range.hpp +0 -282
  42. quasardb/convert/unicode.hpp +0 -598
  43. quasardb/convert/util.hpp +0 -22
  44. quasardb/convert/value.hpp +0 -711
  45. quasardb/convert.hpp +0 -38
  46. quasardb/detail/qdb_resource.hpp +0 -129
  47. quasardb/detail/ts_column.hpp +0 -224
  48. quasardb/direct_blob.hpp +0 -108
  49. quasardb/direct_handle.hpp +0 -83
  50. quasardb/direct_integer.hpp +0 -94
  51. quasardb/dispatch.hpp +0 -157
  52. quasardb/double.hpp +0 -87
  53. quasardb/entry.hpp +0 -273
  54. quasardb/error.hpp +0 -318
  55. quasardb/handle.cpp +0 -29
  56. quasardb/handle.hpp +0 -98
  57. quasardb/integer.hpp +0 -88
  58. quasardb/logger.cpp +0 -106
  59. quasardb/logger.hpp +0 -228
  60. quasardb/masked_array.hpp +0 -651
  61. quasardb/metrics.cpp +0 -103
  62. quasardb/metrics.hpp +0 -112
  63. quasardb/module.cpp +0 -76
  64. quasardb/module.hpp +0 -24
  65. quasardb/node.hpp +0 -123
  66. quasardb/numpy.cpp +0 -6
  67. quasardb/numpy.hpp +0 -489
  68. quasardb/object_tracker.hpp +0 -283
  69. quasardb/options.hpp +0 -244
  70. quasardb/perf.hpp +0 -336
  71. quasardb/pytypes.hpp +0 -221
  72. quasardb/query.cpp +0 -420
  73. quasardb/query.hpp +0 -92
  74. quasardb/reader/ts_row.hpp +0 -281
  75. quasardb/reader/ts_value.hpp +0 -245
  76. quasardb/remove_cvref.hpp +0 -31
  77. quasardb/string.hpp +0 -160
  78. quasardb/table.cpp +0 -289
  79. quasardb/table.hpp +0 -325
  80. quasardb/table_reader.hpp +0 -220
  81. quasardb/tag.hpp +0 -77
  82. quasardb/timestamp.hpp +0 -97
  83. quasardb/traits.hpp +0 -619
  84. quasardb/ts_iterator.hpp +0 -193
  85. quasardb/utils/blob_deque.hpp +0 -96
  86. quasardb/utils/ostream.hpp +0 -17
  87. quasardb/utils/permutation.hpp +0 -50
  88. quasardb/utils/stable_sort.hpp +0 -25
  89. quasardb/utils/unzip_view.hpp +0 -89
  90. quasardb/utils.cpp +0 -28
  91. quasardb/utils.hpp +0 -174
  92. quasardb/writer.cpp +0 -534
  93. quasardb/writer.hpp +0 -396
  94. quasardb-3.14.2.dev0.dist-info/RECORD +0 -118
  95. {quasardb-3.14.2.dev0.dist-info → quasardb-3.14.2.dev4.dist-info}/LICENSE.md +0 -0
  96. {quasardb-3.14.2.dev0.dist-info → quasardb-3.14.2.dev4.dist-info}/top_level.txt +0 -0
@@ -1,283 +0,0 @@
1
- #pragma once
2
-
3
- #include <any>
4
- #include <cassert>
5
- #include <iostream>
6
- #include <memory>
7
- #include <stack>
8
- #include <typeindex>
9
- #include <unordered_map>
10
- #include <unordered_set>
11
-
12
- namespace qdb::object_tracker
13
- {
14
-
15
- ////////////////////////////////////////////////////////////////////////////////
16
- //
17
- // Implementation
18
- //
19
- ///////////////////
20
-
21
- namespace detail
22
- {
23
-
24
- ////////////////////////////////////////////////////////////////////////////////
25
- //
26
- // Trackable objects
27
- //
28
- ///////////////////
29
- //
30
- // Typically we don't really care about the type of the underlying pointers
31
- // we track, and would like to just use `void *`; this makes the code a lot
32
- // simpler.
33
- //
34
- // There's a problem, however: we cannot invoke `delete` on void * because
35
- // the compiler wouldn't know which destructor to call.
36
- //
37
- // The code below deal with this mess: it's able to "wrap" any typed unique_ptr
38
- // in something which can best be considered a std::unique_ptr<void>, but
39
- // uses the original, type-based deleter.
40
- //
41
- // Not sure if evil hack or elaborate genius, but it works.
42
- //
43
- ///////////////////
44
-
45
- using void_delete_fn = std::function<void(void *)>;
46
-
47
- template <typename T, typename DT>
48
- inline auto deleter_of() noexcept -> void_delete_fn
49
- {
50
- // Magic is here: we make a `void *` deleter function, which under-the-hood
51
- // invokes the original deleter.
52
- return [](void * x) -> void { DT{}(static_cast<T *>(x)); };
53
- };
54
-
55
- using trackable_object = std::unique_ptr<void, void_delete_fn>;
56
-
57
- template <typename T, typename DT>
58
- inline trackable_object make_trackable_object(std::unique_ptr<T, DT> && x)
59
- {
60
- return trackable_object{x.release(), deleter_of<T, DT>()};
61
- };
62
-
63
- template <typename T, typename DT = std::default_delete<T>>
64
- inline trackable_object make_trackable_object(T * x)
65
- {
66
- return make_trackable_object(std::unique_ptr<T>{x});
67
- };
68
-
69
- ////////////////////////////////////////////////////////////////////////////////
70
- //
71
- // Repository
72
- //
73
- ///////////////////
74
- //
75
- // The repository contains all tracked objects. It maintains a container of tracked
76
- // objects, which are effectively unique_ptr<void>, and as such automatically released
77
- // upon destruction.
78
- //
79
- // Intended use is to immediately pass the pointer to immediately track:
80
- //
81
- // char * buf = qdb::object_tracker::track<char>(new char[32]);
82
- //
83
- // or, even better:
84
- //
85
- // char * buf = qdb::object_tracker::alloc<char>(32);
86
- //
87
- ///////////////////
88
-
89
- class repository
90
- {
91
- private:
92
- using container_t = std::vector<trackable_object>;
93
-
94
- public:
95
- repository() = default;
96
- ~repository() = default;
97
-
98
- repository(repository const &) = delete;
99
- repository(repository && other) = delete;
100
- repository & operator=(repository const &) = delete;
101
-
102
- public:
103
- [[nodiscard]] static inline repository & instance() noexcept
104
- {
105
- static repository instance_;
106
- // If this assertion fails it implies a component tries to have its objects
107
- // tracked but there is no collector being able to track these yet.
108
- //
109
- // Ensure you have a `collector` with its scoped wrapped around the rest of
110
- // the code that wants its objects tracked.
111
- return instance_;
112
- };
113
-
114
- /**
115
- * Swaps the tracked objects of `this` repo with the tracked objects of another
116
- * repository.
117
- *
118
- * Used by `scoped_repository` to temporarily "claim" the global scope, and to
119
- * release it back again later.
120
- */
121
- static inline void swap(repository & x) noexcept
122
- {
123
- std::swap(instance().xs_, x.xs_);
124
- };
125
-
126
- public:
127
- // Delegate functions
128
-
129
- [[nodiscard]] inline void * track(trackable_object && x) noexcept
130
- {
131
- void * ptr = x.get();
132
- xs_.push_back(std::move(x));
133
-
134
- return ptr;
135
- };
136
-
137
- template <typename T>
138
- requires(!std::is_pointer_v<T>) [[nodiscard]] inline T * track(T * x) noexcept
139
- {
140
- return static_cast<T *>(track(make_trackable_object(std::unique_ptr<T>{x})));
141
- };
142
-
143
- /**
144
- * Allocates `n` bytes and immediately tracks it. n is the amount of bytes to allocate, *not* the
145
- * amount of objects of sizeof(T) to allocate.
146
- */
147
- template <typename T>
148
- [[nodiscard]] inline T * alloc(std::size_t n) noexcept
149
- {
150
- return track<T>((T *)::operator new(n));
151
- };
152
-
153
- public:
154
- // Inspection / management functions
155
-
156
- [[nodiscard]] inline std::size_t size() const noexcept
157
- {
158
- return xs_.size();
159
- };
160
-
161
- [[nodiscard]] inline bool empty() const noexcept
162
- {
163
- return xs_.empty();
164
- };
165
-
166
- private:
167
- container_t xs_;
168
- };
169
-
170
- ////////////////////////////////////////////////////////////////////////////////
171
- //
172
- // Scoped Repository
173
- //
174
- ///////////////////
175
- //
176
- // Wraps a repository that automatically releases everything when it goes out
177
- // of scope.
178
- //
179
- // Intended use case:
180
- // * Attach a scoped_repository to the object that initiates a query/request, *and*
181
- // stays alive as long as any pointers are still being referenced.
182
- // * In conjunction with `scoped_capture`, captures all tracked pointers during
183
- // its scope;
184
- // * only once e.g. the scoped_repository goes completely out of scope, does the cleanup
185
- // happen.
186
- //
187
- // You would attach this scoped_repository to e.g. a `query_result` structure.
188
- //
189
- ///////////////////
190
-
191
- class scoped_repository
192
- {
193
- friend class scoped_capture;
194
-
195
- public:
196
- scoped_repository() = default;
197
-
198
- ~scoped_repository(){};
199
-
200
- [[nodiscard]] inline std::size_t size() const noexcept
201
- {
202
- return repo_.size();
203
- };
204
-
205
- [[nodiscard]] inline bool empty() const noexcept
206
- {
207
- return repo_.empty();
208
- };
209
-
210
- inline void swap()
211
- {
212
- repository::swap(repo_);
213
- };
214
-
215
- private:
216
- repository repo_;
217
- };
218
-
219
- ////////////////////////////////////////////////////////////////////////////////
220
- //
221
- // Scoped Capture
222
- //
223
- ///////////////////
224
- //
225
- // During its scope, redirects all new tracked objects to the provided repository.
226
- // You would typically put this around the code that invokes conversion or any
227
- // other components that can create tracked objects.
228
- //
229
- // *WARNING*: Multiple scoped_captures being active at the same time is unsupported.
230
- // Keep these scopes as small as possible, and do *not* use them in async
231
- // code.
232
- //
233
- ///////////////////
234
-
235
- class scoped_capture
236
- {
237
- public:
238
- inline scoped_capture(scoped_repository & ctx)
239
- : ctx_{ctx}
240
- {
241
- // This is where the magic happens: we 'claim' the global scope by swapping
242
- // our local scope with the global one...
243
- ctx_.swap();
244
- };
245
-
246
- inline ~scoped_capture()
247
- {
248
- // ... and we release it back by putting the global scope back in place.
249
- ctx_.swap();
250
- };
251
-
252
- private:
253
- scoped_repository & ctx_;
254
- };
255
- }; // namespace detail
256
-
257
- ////////////////////////////////////////////////////////////////////////////////
258
- //
259
- // Public interface
260
- //
261
- ///////////////////
262
-
263
- template <typename T>
264
- inline T * track(T * x)
265
- {
266
- return detail::repository::instance().track<T>(x);
267
- };
268
-
269
- template <typename T, typename DT>
270
- inline T * track(std::unique_ptr<T, DT> && x)
271
- {
272
- return detail::repository::instance().track<T>(std::forward<std::unique_ptr<T, DT> &&>(x));
273
- };
274
-
275
- template <typename T>
276
- inline T * alloc(std::size_t n)
277
- {
278
- return detail::repository::instance().alloc<T>(n);
279
- };
280
-
281
- using scoped_repository = qdb::object_tracker::detail::scoped_repository;
282
- using scoped_capture = qdb::object_tracker::detail::scoped_capture;
283
- }; // namespace qdb::object_tracker
quasardb/options.hpp DELETED
@@ -1,244 +0,0 @@
1
- /*
2
- *
3
- * Official Python API
4
- *
5
- * Copyright (c) 2009-2024, 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 "handle.hpp"
34
- #include <qdb/option.h>
35
- #include <chrono>
36
-
37
- namespace qdb
38
- {
39
-
40
- class options
41
- {
42
- public:
43
- explicit options(qdb::handle_ptr h)
44
- : _handle{h}
45
- {}
46
-
47
- public:
48
- /**
49
- * Applies credentials if provided, throws exception when credentials are invalid.
50
- */
51
- void apply_credentials(const std::string & user_name,
52
- const std::string & user_private_key,
53
- const std::string & cluster_public_key,
54
- const std::string & user_security_file,
55
- const std::string & cluster_public_key_file)
56
- {
57
- // must specify keys or files or nothing
58
- auto empty_keys = user_name.empty() && user_private_key.empty() && cluster_public_key.empty();
59
- auto empty_files = user_security_file.empty() && cluster_public_key_file.empty();
60
-
61
- if (!empty_keys && !empty_files)
62
- throw qdb::exception{qdb_e_invalid_argument,
63
- "Either key or file security settings must be provided, or none at all"};
64
-
65
- if (!empty_keys)
66
- {
67
- if (user_name.empty() || user_private_key.empty() || cluster_public_key.empty())
68
- throw qdb::exception{qdb_e_invalid_argument,
69
- "Either all keys security settings must be provided, or none at all"};
70
-
71
- set_user_credentials(user_name, user_private_key);
72
- set_cluster_public_key(cluster_public_key);
73
- }
74
- else if (!empty_files)
75
- {
76
- if (user_security_file.empty() || cluster_public_key_file.empty())
77
- throw qdb::exception{qdb_e_invalid_argument,
78
- "Either all files security settings must be provided, or none at all"};
79
-
80
- set_file_credential(user_security_file, cluster_public_key_file);
81
- }
82
- };
83
-
84
- void set_timeout(std::chrono::milliseconds ms)
85
- {
86
- qdb::qdb_throw_if_error(
87
- *_handle, qdb_option_set_timeout(*_handle, static_cast<int>(ms.count())));
88
- }
89
-
90
- std::chrono::milliseconds get_timeout()
91
- {
92
- int ms = 0;
93
-
94
- qdb::qdb_throw_if_error(*_handle, qdb_option_get_timeout(*_handle, &ms));
95
-
96
- return std::chrono::milliseconds{ms};
97
- }
98
-
99
- void set_client_soft_memory_limit(std::size_t limit)
100
- {
101
- qdb::qdb_throw_if_error(*_handle,
102
- qdb_option_set_client_soft_memory_limit(*_handle, static_cast<qdb_uint_t>(limit)));
103
- }
104
-
105
- void set_stabilization_max_wait(std::chrono::milliseconds ms)
106
- {
107
- qdb::qdb_throw_if_error(
108
- *_handle, qdb_option_set_stabilization_max_wait(*_handle, static_cast<int>(ms.count())));
109
- }
110
-
111
- std::chrono::milliseconds get_stabilization_max_wait()
112
- {
113
- int ms = 0;
114
-
115
- qdb::qdb_throw_if_error(*_handle, qdb_option_get_stabilization_max_wait(*_handle, &ms));
116
-
117
- return std::chrono::milliseconds{ms};
118
- }
119
-
120
- void set_max_cardinality(qdb_uint_t cardinality)
121
- {
122
- qdb::qdb_throw_if_error(*_handle, qdb_option_set_max_cardinality(*_handle, cardinality));
123
- }
124
-
125
- void set_compression(qdb_compression_t level)
126
- {
127
- qdb::qdb_throw_if_error(*_handle, qdb_option_set_compression(*_handle, level));
128
- }
129
-
130
- void set_encryption(qdb_encryption_t algo)
131
- {
132
- qdb::qdb_throw_if_error(*_handle, qdb_option_set_encryption(*_handle, algo));
133
- }
134
-
135
- void set_cluster_public_key(const std::string & key)
136
- {
137
- qdb::qdb_throw_if_error(*_handle, qdb_option_set_cluster_public_key(*_handle, key.c_str()));
138
- }
139
-
140
- void set_user_credentials(const std::string & user, const std::string & private_key)
141
- {
142
- qdb::qdb_throw_if_error(
143
- *_handle, qdb_option_set_user_credentials(*_handle, user.c_str(), private_key.c_str()));
144
- }
145
-
146
- void set_file_credential(
147
- const std::string & user_security_file, const std::string & cluster_public_key_file)
148
- {
149
- qdb::qdb_throw_if_error(
150
- *_handle, qdb_option_load_security_files(
151
- *_handle, cluster_public_key_file.c_str(), user_security_file.c_str()));
152
- }
153
-
154
- void set_client_max_in_buf_size(size_t max_size)
155
- {
156
- qdb::qdb_throw_if_error(*_handle, qdb_option_set_client_max_in_buf_size(*_handle, max_size));
157
- }
158
-
159
- size_t get_client_max_in_buf_size()
160
- {
161
- size_t buf_size = 0;
162
- qdb::qdb_throw_if_error(*_handle, qdb_option_get_client_max_in_buf_size(*_handle, &buf_size));
163
- return buf_size;
164
- }
165
-
166
- size_t get_cluster_max_in_buf_size()
167
- {
168
- size_t buf_size = 0;
169
- qdb::qdb_throw_if_error(*_handle, qdb_option_get_cluster_max_in_buf_size(*_handle, &buf_size));
170
- return buf_size;
171
- }
172
-
173
- void set_client_max_parallelism(size_t max_parallelism)
174
- {
175
- qdb::qdb_throw_if_error(
176
- *_handle, qdb_option_set_client_max_parallelism(*_handle, max_parallelism));
177
- }
178
-
179
- size_t get_client_max_parallelism()
180
- {
181
- size_t max_parallelism = 0;
182
- qdb::qdb_throw_if_error(
183
- *_handle, qdb_option_get_client_max_parallelism(*_handle, &max_parallelism));
184
- return max_parallelism;
185
- }
186
-
187
- void set_query_max_length(size_t query_max_length)
188
- {
189
- qdb::qdb_throw_if_error(*_handle, qdb_option_set_query_max_length(*_handle, query_max_length));
190
- }
191
-
192
- size_t get_query_max_length()
193
- {
194
- size_t query_max_length = 0;
195
- qdb::qdb_throw_if_error(*_handle, qdb_option_get_query_max_length(*_handle, &query_max_length));
196
- return query_max_length;
197
- }
198
-
199
- private:
200
- qdb::handle_ptr _handle;
201
- };
202
-
203
- template <typename Module>
204
- static inline void register_options(Module & m)
205
- {
206
- namespace py = pybind11;
207
-
208
- py::class_<qdb::options> o(m, "Options"); //
209
-
210
- // None is reserved keyword in Python
211
- py::enum_<qdb_compression_t>{o, "Compression", py::arithmetic(), "Compression type"} //
212
- .value("Disabled", qdb_comp_none) //
213
- .value("Fast", qdb_comp_fast) //
214
- .value("Best", qdb_comp_best); //
215
-
216
- py::enum_<qdb_encryption_t>{o, "Encryption", py::arithmetic(), "Encryption type"} //
217
- .value("Disabled", qdb_crypt_none) //
218
- .value("AES256GCM", qdb_crypt_aes_gcm_256); //
219
-
220
- o.def(py::init<qdb::handle_ptr>()) //
221
- .def("set_timeout", &qdb::options::set_timeout) //
222
- .def("get_timeout", &qdb::options::get_timeout) //
223
- .def("set_stabilization_max_wait", &qdb::options::set_stabilization_max_wait) //
224
- .def("get_stabilization_max_wait", &qdb::options::get_stabilization_max_wait) //
225
- .def("set_max_cardinality", &qdb::options::set_max_cardinality) //
226
- .def("set_compression", &qdb::options::set_compression) //
227
- .def("set_encryption", &qdb::options::set_encryption) //
228
- .def("set_cluster_public_key", &qdb::options::set_cluster_public_key) //
229
- .def("set_user_credentials", &qdb::options::set_user_credentials) //
230
- .def("set_client_max_in_buf_size", &qdb::options::set_client_max_in_buf_size) //
231
- .def("get_client_max_in_buf_size", &qdb::options::get_client_max_in_buf_size) //
232
- .def("get_cluster_max_in_buf_size", &qdb::options::get_cluster_max_in_buf_size) //
233
- .def("set_client_max_parallelism", &qdb::options::set_client_max_parallelism, //
234
- py::arg("parallelism")) //
235
- .def("get_client_max_parallelism", &qdb::options::get_client_max_parallelism) //
236
- .def("set_query_max_length", &qdb::options::set_query_max_length, //
237
- py::arg("query_max_length")) //
238
- .def("get_query_max_length", &qdb::options::get_query_max_length) //
239
- .def("set_client_soft_memory_limit", &qdb::options::set_client_soft_memory_limit, //
240
- py::arg("limit")) //
241
- ;
242
- }
243
-
244
- } // namespace qdb