btrievePython 16.10.30.0b1__tar.gz → 16.10.30.0b2__tar.gz
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.
- {btrievepython-16.10.30.0b1/btrievePython.egg-info → btrievepython-16.10.30.0b2}/PKG-INFO +1 -1
- {btrievepython-16.10.30.0b1 → btrievepython-16.10.30.0b2}/btrievePython/__init__.py +172 -2
- {btrievepython-16.10.30.0b1 → btrievepython-16.10.30.0b2}/btrievePython/btrieveCpp.h +50 -2
- {btrievepython-16.10.30.0b1 → btrievepython-16.10.30.0b2}/btrievePython/btrievePython.cpp +6454 -1474
- btrievepython-16.10.30.0b2/btrievePython/win32/btrieveCpp.lib +0 -0
- btrievepython-16.10.30.0b2/btrievePython/win64/btrieveCpp.lib +0 -0
- {btrievepython-16.10.30.0b1 → btrievepython-16.10.30.0b2/btrievePython.egg-info}/PKG-INFO +1 -1
- {btrievepython-16.10.30.0b1 → btrievepython-16.10.30.0b2}/pyproject.toml +1 -1
- {btrievepython-16.10.30.0b1 → btrievepython-16.10.30.0b2}/setup.cfg +1 -1
- btrievepython-16.10.30.0b1/btrievePython/win32/btrieveCpp.lib +0 -0
- btrievepython-16.10.30.0b1/btrievePython/win64/btrieveCpp.lib +0 -0
- {btrievepython-16.10.30.0b1 → btrievepython-16.10.30.0b2}/LICENSE.txt +0 -0
- {btrievepython-16.10.30.0b1 → btrievepython-16.10.30.0b2}/MANIFEST.in +0 -0
- {btrievepython-16.10.30.0b1 → btrievepython-16.10.30.0b2}/README.md +0 -0
- {btrievepython-16.10.30.0b1 → btrievepython-16.10.30.0b2}/btrievePython/btrieveC.h +0 -0
- {btrievepython-16.10.30.0b1 → btrievepython-16.10.30.0b2}/btrievePython.egg-info/SOURCES.txt +0 -0
- {btrievepython-16.10.30.0b1 → btrievepython-16.10.30.0b2}/btrievePython.egg-info/dependency_links.txt +0 -0
- {btrievepython-16.10.30.0b1 → btrievepython-16.10.30.0b2}/btrievePython.egg-info/top_level.txt +0 -0
- {btrievepython-16.10.30.0b1 → btrievepython-16.10.30.0b2}/setup.py +0 -0
|
@@ -67,6 +67,173 @@ def buffer_view_attach(view: "Py_buffer *", obj: "PyObject *", buffer: "char **"
|
|
|
67
67
|
|
|
68
68
|
def buffer_view_attach_const(view: "Py_buffer *", obj: "PyObject *", buffer: "char const **", size: "Py_ssize_t *") -> "int":
|
|
69
69
|
return _btrievePython.buffer_view_attach_const(view, obj, buffer, size)
|
|
70
|
+
class SwigPyIterator(object):
|
|
71
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
|
72
|
+
|
|
73
|
+
def __init__(self, *args, **kwargs):
|
|
74
|
+
raise AttributeError("No constructor defined - class is abstract")
|
|
75
|
+
__repr__ = _swig_repr
|
|
76
|
+
__swig_destroy__ = _btrievePython.delete_SwigPyIterator
|
|
77
|
+
|
|
78
|
+
def value(self) -> "PyObject *":
|
|
79
|
+
return _btrievePython.SwigPyIterator_value(self)
|
|
80
|
+
|
|
81
|
+
def incr(self, n: "size_t"=1) -> "swig::SwigPyIterator *":
|
|
82
|
+
return _btrievePython.SwigPyIterator_incr(self, n)
|
|
83
|
+
|
|
84
|
+
def decr(self, n: "size_t"=1) -> "swig::SwigPyIterator *":
|
|
85
|
+
return _btrievePython.SwigPyIterator_decr(self, n)
|
|
86
|
+
|
|
87
|
+
def distance(self, x: "SwigPyIterator") -> "ptrdiff_t":
|
|
88
|
+
return _btrievePython.SwigPyIterator_distance(self, x)
|
|
89
|
+
|
|
90
|
+
def equal(self, x: "SwigPyIterator") -> "bool":
|
|
91
|
+
return _btrievePython.SwigPyIterator_equal(self, x)
|
|
92
|
+
|
|
93
|
+
def copy(self) -> "swig::SwigPyIterator *":
|
|
94
|
+
return _btrievePython.SwigPyIterator_copy(self)
|
|
95
|
+
|
|
96
|
+
def next(self) -> "PyObject *":
|
|
97
|
+
return _btrievePython.SwigPyIterator_next(self)
|
|
98
|
+
|
|
99
|
+
def __next__(self) -> "PyObject *":
|
|
100
|
+
return _btrievePython.SwigPyIterator___next__(self)
|
|
101
|
+
|
|
102
|
+
def previous(self) -> "PyObject *":
|
|
103
|
+
return _btrievePython.SwigPyIterator_previous(self)
|
|
104
|
+
|
|
105
|
+
def advance(self, n: "ptrdiff_t") -> "swig::SwigPyIterator *":
|
|
106
|
+
return _btrievePython.SwigPyIterator_advance(self, n)
|
|
107
|
+
|
|
108
|
+
def __eq__(self, x: "SwigPyIterator") -> "bool":
|
|
109
|
+
return _btrievePython.SwigPyIterator___eq__(self, x)
|
|
110
|
+
|
|
111
|
+
def __ne__(self, x: "SwigPyIterator") -> "bool":
|
|
112
|
+
return _btrievePython.SwigPyIterator___ne__(self, x)
|
|
113
|
+
|
|
114
|
+
def __iadd__(self, n: "ptrdiff_t") -> "swig::SwigPyIterator &":
|
|
115
|
+
return _btrievePython.SwigPyIterator___iadd__(self, n)
|
|
116
|
+
|
|
117
|
+
def __isub__(self, n: "ptrdiff_t") -> "swig::SwigPyIterator &":
|
|
118
|
+
return _btrievePython.SwigPyIterator___isub__(self, n)
|
|
119
|
+
|
|
120
|
+
def __add__(self, n: "ptrdiff_t") -> "swig::SwigPyIterator *":
|
|
121
|
+
return _btrievePython.SwigPyIterator___add__(self, n)
|
|
122
|
+
|
|
123
|
+
def __sub__(self, *args) -> "ptrdiff_t":
|
|
124
|
+
return _btrievePython.SwigPyIterator___sub__(self, *args)
|
|
125
|
+
def __iter__(self):
|
|
126
|
+
return self
|
|
127
|
+
|
|
128
|
+
# Register SwigPyIterator in _btrievePython:
|
|
129
|
+
_btrievePython.SwigPyIterator_swigregister(SwigPyIterator)
|
|
130
|
+
|
|
131
|
+
class FloatVector(object):
|
|
132
|
+
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
|
133
|
+
__repr__ = _swig_repr
|
|
134
|
+
|
|
135
|
+
def iterator(self) -> "swig::SwigPyIterator *":
|
|
136
|
+
return _btrievePython.FloatVector_iterator(self)
|
|
137
|
+
def __iter__(self):
|
|
138
|
+
return self.iterator()
|
|
139
|
+
|
|
140
|
+
def __nonzero__(self) -> "bool":
|
|
141
|
+
return _btrievePython.FloatVector___nonzero__(self)
|
|
142
|
+
|
|
143
|
+
def __bool__(self) -> "bool":
|
|
144
|
+
return _btrievePython.FloatVector___bool__(self)
|
|
145
|
+
|
|
146
|
+
def __len__(self) -> "std::vector< float >::size_type":
|
|
147
|
+
return _btrievePython.FloatVector___len__(self)
|
|
148
|
+
|
|
149
|
+
def __getslice__(self, i: "std::vector< float >::difference_type", j: "std::vector< float >::difference_type") -> "std::vector< float,std::allocator< float > > *":
|
|
150
|
+
return _btrievePython.FloatVector___getslice__(self, i, j)
|
|
151
|
+
|
|
152
|
+
def __setslice__(self, *args) -> "void":
|
|
153
|
+
return _btrievePython.FloatVector___setslice__(self, *args)
|
|
154
|
+
|
|
155
|
+
def __delslice__(self, i: "std::vector< float >::difference_type", j: "std::vector< float >::difference_type") -> "void":
|
|
156
|
+
return _btrievePython.FloatVector___delslice__(self, i, j)
|
|
157
|
+
|
|
158
|
+
def __delitem__(self, *args) -> "void":
|
|
159
|
+
return _btrievePython.FloatVector___delitem__(self, *args)
|
|
160
|
+
|
|
161
|
+
def __getitem__(self, *args) -> "std::vector< float >::value_type const &":
|
|
162
|
+
return _btrievePython.FloatVector___getitem__(self, *args)
|
|
163
|
+
|
|
164
|
+
def __setitem__(self, *args) -> "void":
|
|
165
|
+
return _btrievePython.FloatVector___setitem__(self, *args)
|
|
166
|
+
|
|
167
|
+
def pop(self) -> "std::vector< float >::value_type":
|
|
168
|
+
return _btrievePython.FloatVector_pop(self)
|
|
169
|
+
|
|
170
|
+
def append(self, x: "std::vector< float >::value_type const &") -> "void":
|
|
171
|
+
return _btrievePython.FloatVector_append(self, x)
|
|
172
|
+
|
|
173
|
+
def empty(self) -> "bool":
|
|
174
|
+
return _btrievePython.FloatVector_empty(self)
|
|
175
|
+
|
|
176
|
+
def size(self) -> "std::vector< float >::size_type":
|
|
177
|
+
return _btrievePython.FloatVector_size(self)
|
|
178
|
+
|
|
179
|
+
def swap(self, v: "FloatVector") -> "void":
|
|
180
|
+
return _btrievePython.FloatVector_swap(self, v)
|
|
181
|
+
|
|
182
|
+
def begin(self) -> "std::vector< float >::iterator":
|
|
183
|
+
return _btrievePython.FloatVector_begin(self)
|
|
184
|
+
|
|
185
|
+
def end(self) -> "std::vector< float >::iterator":
|
|
186
|
+
return _btrievePython.FloatVector_end(self)
|
|
187
|
+
|
|
188
|
+
def rbegin(self) -> "std::vector< float >::reverse_iterator":
|
|
189
|
+
return _btrievePython.FloatVector_rbegin(self)
|
|
190
|
+
|
|
191
|
+
def rend(self) -> "std::vector< float >::reverse_iterator":
|
|
192
|
+
return _btrievePython.FloatVector_rend(self)
|
|
193
|
+
|
|
194
|
+
def clear(self) -> "void":
|
|
195
|
+
return _btrievePython.FloatVector_clear(self)
|
|
196
|
+
|
|
197
|
+
def get_allocator(self) -> "std::vector< float >::allocator_type":
|
|
198
|
+
return _btrievePython.FloatVector_get_allocator(self)
|
|
199
|
+
|
|
200
|
+
def pop_back(self) -> "void":
|
|
201
|
+
return _btrievePython.FloatVector_pop_back(self)
|
|
202
|
+
|
|
203
|
+
def erase(self, *args) -> "std::vector< float >::iterator":
|
|
204
|
+
return _btrievePython.FloatVector_erase(self, *args)
|
|
205
|
+
|
|
206
|
+
def __init__(self, *args):
|
|
207
|
+
_btrievePython.FloatVector_swiginit(self, _btrievePython.new_FloatVector(*args))
|
|
208
|
+
|
|
209
|
+
def push_back(self, x: "std::vector< float >::value_type const &") -> "void":
|
|
210
|
+
return _btrievePython.FloatVector_push_back(self, x)
|
|
211
|
+
|
|
212
|
+
def front(self) -> "std::vector< float >::value_type const &":
|
|
213
|
+
return _btrievePython.FloatVector_front(self)
|
|
214
|
+
|
|
215
|
+
def back(self) -> "std::vector< float >::value_type const &":
|
|
216
|
+
return _btrievePython.FloatVector_back(self)
|
|
217
|
+
|
|
218
|
+
def assign(self, n: "std::vector< float >::size_type", x: "std::vector< float >::value_type const &") -> "void":
|
|
219
|
+
return _btrievePython.FloatVector_assign(self, n, x)
|
|
220
|
+
|
|
221
|
+
def resize(self, *args) -> "void":
|
|
222
|
+
return _btrievePython.FloatVector_resize(self, *args)
|
|
223
|
+
|
|
224
|
+
def insert(self, *args) -> "void":
|
|
225
|
+
return _btrievePython.FloatVector_insert(self, *args)
|
|
226
|
+
|
|
227
|
+
def reserve(self, n: "std::vector< float >::size_type") -> "void":
|
|
228
|
+
return _btrievePython.FloatVector_reserve(self, n)
|
|
229
|
+
|
|
230
|
+
def capacity(self) -> "std::vector< float >::size_type":
|
|
231
|
+
return _btrievePython.FloatVector_capacity(self)
|
|
232
|
+
__swig_destroy__ = _btrievePython.delete_FloatVector
|
|
233
|
+
|
|
234
|
+
# Register FloatVector in _btrievePython:
|
|
235
|
+
_btrievePython.FloatVector_swigregister(FloatVector)
|
|
236
|
+
|
|
70
237
|
class Btrieve(object):
|
|
71
238
|
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
|
72
239
|
|
|
@@ -1830,11 +1997,14 @@ class BtrieveSpace(object):
|
|
|
1830
1997
|
_btrievePython.BtrieveSpace_swiginit(self, _btrievePython.new_BtrieveSpace())
|
|
1831
1998
|
__swig_destroy__ = _btrievePython.delete_BtrieveSpace
|
|
1832
1999
|
|
|
2000
|
+
def VectorCreateFast(self, json: "char const *", vector: "FloatVector") -> "int":
|
|
2001
|
+
return _btrievePython.BtrieveSpace_VectorCreateFast(self, json, vector)
|
|
2002
|
+
|
|
1833
2003
|
def VectorRetrieveEntityTag(self, id: "int") -> "int":
|
|
1834
2004
|
return _btrievePython.BtrieveSpace_VectorRetrieveEntityTag(self, id)
|
|
1835
2005
|
|
|
1836
|
-
def VectorDelete(self,
|
|
1837
|
-
return _btrievePython.BtrieveSpace_VectorDelete(self,
|
|
2006
|
+
def VectorDelete(self, *args) -> "Btrieve::StatusCode":
|
|
2007
|
+
return _btrievePython.BtrieveSpace_VectorDelete(self, *args)
|
|
1838
2008
|
|
|
1839
2009
|
def Query(self, btrieveVectorSet: "BtrieveVectorSet", query: "char const *"=None) -> "Btrieve::StatusCode":
|
|
1840
2010
|
return _btrievePython.BtrieveSpace_Query(self, btrieveVectorSet, query)
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
#include <cstddef>
|
|
16
16
|
#include <deque>
|
|
17
17
|
#include <string>
|
|
18
|
+
#include <vector>
|
|
18
19
|
|
|
19
20
|
#include "btrieveC.h"
|
|
20
21
|
|
|
@@ -5102,8 +5103,9 @@ private:
|
|
|
5102
5103
|
/// _vector | yes | no | no | yes | array | The vector as an array of numbers.
|
|
5103
5104
|
/// \details
|
|
5104
5105
|
/// Non-user settable JSON field names are silently ignored by BtrieveSpace::VectorCreate and BtrieveSpace::VectorUpdate.
|
|
5106
|
+
/// "_id" and "_uuid" are user settable on vector create only.
|
|
5105
5107
|
/// Use of reserved JSON field names other than those listed above will generate an error.
|
|
5106
|
-
/// Reserved JSON field names are added to the vector JSON retrieved by BtrieveSpace::VectorRetrieveJson
|
|
5108
|
+
/// Reserved JSON field names are added to the vector JSON retrieved by BtrieveSpace::VectorRetrieveJson.
|
|
5107
5109
|
///
|
|
5108
5110
|
/// The vector identifier is an autoincrement positive integer with a maximum value of 2147483647 (2^31 - 1).
|
|
5109
5111
|
class LINKAGE BtrieveSpace
|
|
@@ -5126,6 +5128,7 @@ public:
|
|
|
5126
5128
|
/// \retval -1 \ERROR_HAS_OCCURRED
|
|
5127
5129
|
/// \TO_DETERMINE_STATUS_CODE{BtrieveSpace::GetLastStatusCode}
|
|
5128
5130
|
int VectorCreate(const char *json);
|
|
5131
|
+
int VectorCreateFast(const char *json, const std::vector<float> &vector);
|
|
5129
5132
|
/// \brief Create a vector.
|
|
5130
5133
|
/// \param[in] json The json.
|
|
5131
5134
|
/// \param[in] blob The blob.
|
|
@@ -5196,6 +5199,13 @@ public:
|
|
|
5196
5199
|
/// \see Btrieve::StatusCodeToString
|
|
5197
5200
|
Btrieve::StatusCode VectorUpdate(int id, const char *json);
|
|
5198
5201
|
/// \brief Update a vector.
|
|
5202
|
+
/// \param[in] uuid The universally unique identifier.
|
|
5203
|
+
/// \param[in] json The json. If json is NULL, then the vector json will not be updated.
|
|
5204
|
+
/// \retval "= Btrieve::STATUS_CODE_NO_ERROR" \SUCCESS
|
|
5205
|
+
/// \retval "!= Btrieve::STATUS_CODE_NO_ERROR" \ERROR_HAS_OCCURRED
|
|
5206
|
+
/// \see Btrieve::StatusCodeToString
|
|
5207
|
+
Btrieve::StatusCode VectorUpdate(const char *uuid, const char *json);
|
|
5208
|
+
/// \brief Update a vector.
|
|
5199
5209
|
/// \param[in] id The identifier.
|
|
5200
5210
|
/// \param[in] json The json. If json is NULL, then the vector json will not be updated.
|
|
5201
5211
|
/// \param[in] blob The blob. If blob is NULL, then the vector blob will not be updated.
|
|
@@ -5205,6 +5215,15 @@ public:
|
|
|
5205
5215
|
/// \see Btrieve::StatusCodeToString
|
|
5206
5216
|
Btrieve::StatusCode VectorUpdate(int id, const char *json, const char *blob, int blobLength);
|
|
5207
5217
|
/// \brief Update a vector.
|
|
5218
|
+
/// \param[in] uuid The universally unique identifier.
|
|
5219
|
+
/// \param[in] json The json. If json is NULL, then the vector json will not be updated.
|
|
5220
|
+
/// \param[in] blob The blob. If blob is NULL, then the vector blob will not be updated.
|
|
5221
|
+
/// \param[in] blobLength The blob length. If blob is not NULL and blobLength is 0, then the vector blob will be deleted.
|
|
5222
|
+
/// \retval "= Btrieve::STATUS_CODE_NO_ERROR" \SUCCESS
|
|
5223
|
+
/// \retval "!= Btrieve::STATUS_CODE_NO_ERROR" \ERROR_HAS_OCCURRED
|
|
5224
|
+
/// \see Btrieve::StatusCodeToString
|
|
5225
|
+
Btrieve::StatusCode VectorUpdate(const char *uuid, const char *json, const char *blob, int blobLength);
|
|
5226
|
+
/// \brief Update a vector.
|
|
5208
5227
|
/// \param[in] id The identifier.
|
|
5209
5228
|
/// \param[in] entityTag The entity tag. The entity tag must either equal the entity tag of the vector or -1.
|
|
5210
5229
|
/// \param[in] json The json. If json is NULL, then the vector json will not be updated.
|
|
@@ -5213,6 +5232,14 @@ public:
|
|
|
5213
5232
|
/// \see Btrieve::StatusCodeToString
|
|
5214
5233
|
Btrieve::StatusCode VectorUpdate(int id, int entityTag, const char *json);
|
|
5215
5234
|
/// \brief Update a vector.
|
|
5235
|
+
/// \param[in] uuid The universally unique identifier.
|
|
5236
|
+
/// \param[in] entityTag The entity tag. The entity tag must either equal the entity tag of the vector or -1.
|
|
5237
|
+
/// \param[in] json The json. If json is NULL, then the vector json will not be updated.
|
|
5238
|
+
/// \retval "= Btrieve::STATUS_CODE_NO_ERROR" \SUCCESS
|
|
5239
|
+
/// \retval "!= Btrieve::STATUS_CODE_NO_ERROR" \ERROR_HAS_OCCURRED
|
|
5240
|
+
/// \see Btrieve::StatusCodeToString
|
|
5241
|
+
Btrieve::StatusCode VectorUpdate(const char *uuid, int entityTag, const char *json);
|
|
5242
|
+
/// \brief Update a vector.
|
|
5216
5243
|
/// \param[in] id The identifier.
|
|
5217
5244
|
/// \param[in] entityTag The entity tag. The entity tag must either equal the entity tag of the vector or -1.
|
|
5218
5245
|
/// \param[in] json The json. If json is NULL, then the vector json will not be updated.
|
|
@@ -5222,6 +5249,16 @@ public:
|
|
|
5222
5249
|
/// \retval "!= Btrieve::STATUS_CODE_NO_ERROR" \ERROR_HAS_OCCURRED
|
|
5223
5250
|
/// \see Btrieve::StatusCodeToString
|
|
5224
5251
|
Btrieve::StatusCode VectorUpdate(int id, int entityTag, const char *json, const char *blob, int blobLength);
|
|
5252
|
+
/// \brief Update a vector.
|
|
5253
|
+
/// \param[in] uuid The universally unique identifier.
|
|
5254
|
+
/// \param[in] entityTag The entity tag. The entity tag must either equal the entity tag of the vector or -1.
|
|
5255
|
+
/// \param[in] json The json. If json is NULL, then the vector json will not be updated.
|
|
5256
|
+
/// \param[in] blob The blob. If blob is NULL, then the vector blob will not be updated.
|
|
5257
|
+
/// \param[in] blobLength The blob length. If blob is not NULL and blobLength is 0, then the vector blob will be deleted.
|
|
5258
|
+
/// \retval "= Btrieve::STATUS_CODE_NO_ERROR" \SUCCESS
|
|
5259
|
+
/// \retval "!= Btrieve::STATUS_CODE_NO_ERROR" \ERROR_HAS_OCCURRED
|
|
5260
|
+
/// \see Btrieve::StatusCodeToString
|
|
5261
|
+
Btrieve::StatusCode VectorUpdate(const char *uuid, int entityTag, const char *json, const char *blob, int blobLength);
|
|
5225
5262
|
/// \brief Delete a vector.
|
|
5226
5263
|
/// \param[in] id The identifier.
|
|
5227
5264
|
/// \param[in] entityTag The entity tag. The entity tag must either equal the entity tag of the vector or -1.
|
|
@@ -5229,6 +5266,13 @@ public:
|
|
|
5229
5266
|
/// \retval "!= Btrieve::STATUS_CODE_NO_ERROR" \ERROR_HAS_OCCURRED
|
|
5230
5267
|
/// \see Btrieve::StatusCodeToString
|
|
5231
5268
|
Btrieve::StatusCode VectorDelete(int id, int entityTag = -1);
|
|
5269
|
+
/// \brief Delete a vector.
|
|
5270
|
+
/// \param[in] uuid The universally unique identifier.
|
|
5271
|
+
/// \param[in] entityTag The entity tag. The entity tag must either equal the entity tag of the vector or -1.
|
|
5272
|
+
/// \retval "= Btrieve::STATUS_CODE_NO_ERROR" \SUCCESS
|
|
5273
|
+
/// \retval "!= Btrieve::STATUS_CODE_NO_ERROR" \ERROR_HAS_OCCURRED
|
|
5274
|
+
/// \see Btrieve::StatusCodeToString
|
|
5275
|
+
Btrieve::StatusCode VectorDelete(const char *uuid, int entityTag = -1);
|
|
5232
5276
|
/// \brief Query the space.
|
|
5233
5277
|
/// \param[out] btrieveVectorSet The %Btrieve vector set.
|
|
5234
5278
|
/// \param[in] query The query. The maximum query length is Btrieve::MAXIMUM_RECORD_LENGTH bytes.
|
|
@@ -5373,7 +5417,11 @@ private:
|
|
|
5373
5417
|
char *blob = NULL, int blobSize = 0, int vectorBlobOffset = 0, int vectorBlobLength = 0);
|
|
5374
5418
|
Btrieve::StatusCode VectorRetrieve(int id, std::string *json = NULL, char *blob = NULL,
|
|
5375
5419
|
int blobSize = 0, int vectorBlobOffset = 0, int vectorBlobLength = 0);
|
|
5376
|
-
Btrieve::StatusCode VectorRetrieve(const char *uuid, std::string *json = NULL, char *blob = NULL, int blobSize = 0, int vectorBlobOffset = 0,
|
|
5420
|
+
Btrieve::StatusCode VectorRetrieve(const char *uuid, std::string *json = NULL, char *blob = NULL, int blobSize = 0, int vectorBlobOffset = 0,
|
|
5421
|
+
int vectorBlobLength = 0);
|
|
5422
|
+
Btrieve::StatusCode VectorUpdateHelper(const char *uuid, int id, int entityTagIn, const char *json, const char *blob, int blobLength);
|
|
5423
|
+
Btrieve::StatusCode VectorDeleteHelper(const char *uuid, int id, int entityTagIn);
|
|
5424
|
+
int VectorCreateHelper(const char *json, const std::vector<float> *vector, const char *blob, int blobLength);
|
|
5377
5425
|
};
|
|
5378
5426
|
|
|
5379
5427
|
/// \brief The %Btrieve vector set class.
|