libspatialindex API Reference  (git-trunk)
sidx_api.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Project: libsidx - A C API wrapper around libspatialindex
3  * Purpose: C API.
4  * Author: Howard Butler, hobu.inc@gmail.com
5  ******************************************************************************
6  * Copyright (c) 2009, Howard Butler
7  *
8  * All rights reserved.
9  *
10  * Permission is hereby granted, free of charge, to any person obtaining a
11  * copy of this software and associated documentation files (the "Software"),
12  * to deal in the Software without restriction, including without limitation
13  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
14  * and/or sell copies of the Software, and to permit persons to whom the
15  * Software is furnished to do so, subject to the following conditions:
16  *
17  * The above copyright notice and this permission notice shall be included
18  * in all copies or substantial portions of the Software.
19  *
20  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
21  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
23  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
25  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
26  * DEALINGS IN THE SOFTWARE.
27 ******************************************************************************/
28 
29 #ifndef SIDX_API_H_INCLUDED
30 #define SIDX_API_H_INCLUDED
31 
32 #define SIDX_C_API 1
33 
34 #include "sidx_config.h"
35 
36 #include <stddef.h>
37 
39 
41 
43  int (*readNext)(int64_t *id, double **pMin, double **pMax, uint32_t *nDimension, const uint8_t **pData, size_t *nDataLength)
44  );
45 
46 SIDX_DLL IndexH Index_CreateWithArray(IndexPropertyH properties, uint64_t n, uint32_t dimension, uint64_t i_stri, uint64_t d_i_stri, uint64_t d_j_stri, int64_t *ids, double *mins, double *maxs);
47 
48 SIDX_DLL void Index_Destroy(IndexH index);
50 
52  int64_t id,
53  double* pdMin,
54  double* pdMax,
55  uint32_t nDimension);
56 
58  int64_t id,
59  double* pdMin,
60  double* pdMax,
61  double* pdVMin,
62  double* pdVMax,
63  double tStart,
64  double tEnd,
65  uint32_t nDimension
66  );
67 
69  int64_t id,
70  double* pdMin,
71  double* pdMax,
72  double tStart,
73  double tEnd,
74  uint32_t nDimension
75  );
76 
78  int64_t id,
79  double* pdMin,
80  double* pdMax,
81  uint32_t nDimension,
82  const uint8_t* pData,
83  size_t nDataLength);
84 
86  int64_t id,
87  double* pdMin,
88  double* pdMax,
89  double* pdVMin,
90  double* pdVMax,
91  double tStart,
92  double tEnd,
93  uint32_t nDimension,
94  const uint8_t* pData,
95  size_t nDataLength);
96 
98  int64_t id,
99  double* pdMin,
100  double* pdMax,
101  double tStart,
102  double tEnd,
103  uint32_t nDimension,
104  const uint8_t* pData,
105  size_t nDataLength);
106 
107 SIDX_DLL uint32_t Index_IsValid(IndexH index);
108 
110  double* pdMin,
111  double* pdMax,
112  double* pdVMin,
113  double* pdVMax,
114  double tStart,
115  double tEnd,
116  uint32_t nDimension,
117  IndexItemH** items,
118  uint64_t* nResults);
119 
121  double* pdMin,
122  double* pdMax,
123  double tStart,
124  double tEnd,
125  uint32_t nDimension,
126  IndexItemH** items,
127  uint64_t* nResults);
128 
130  double* pdMin,
131  double* pdMax,
132  uint32_t nDimension,
133  IndexItemH** items,
134  uint64_t* nResults);
135 
137  double* pdMin,
138  double* pdMax,
139  uint32_t nDimension,
140  IndexItemH** items,
141  uint64_t* nResults);
142 
144  double* pdMin,
145  double* pdMax,
146  double* pdVMin,
147  double* pdVMax,
148  double tStart,
149  double tEnd,
150  uint32_t nDimension,
151  int64_t** ids,
152  uint64_t* nResults);
153 
155  double* pdMin,
156  double* pdMax,
157  double tStart,
158  double tEnd,
159  uint32_t nDimension,
160  int64_t** ids,
161  uint64_t* nResults);
162 
164  double* pdMin,
165  double* pdMax,
166  uint32_t nDimension,
167  int64_t** items,
168  uint64_t* nResults);
169 
171  int64_t n,
172  uint32_t d,
173  uint64_t idsz,
174  uint64_t d_i_stri,
175  uint64_t d_j_stri,
176  const double* mins,
177  const double* maxs,
178  int64_t* ids,
179  uint64_t* cnts,
180  int64_t* nr);
181 
183  double *pdMin,
184  double *pdMax,
185  uint32_t nDimension,
186  int64_t **ids,
187  uint64_t *nResults);
188 
190  double* pdMin,
191  double* pdMax,
192  double* pdVMin,
193  double* pdVMax,
194  double tStart,
195  double tEnd,
196  uint32_t nDimension,
197  uint64_t* nResults);
198 
200  double* pdMin,
201  double* pdMax,
202  double tStart,
203  double tEnd,
204  uint32_t nDimension,
205  uint64_t* nResults);
206 
208  double* pdMin,
209  double* pdMax,
210  uint32_t nDimension,
211  uint64_t* nResults);
212 
214  double* pdMin,
215  double* pdMax,
216  uint32_t nDimension,
217  uint64_t* nResults);
218 
220  double* pdMin,
221  double* pdMax,
222  double* pdVMin,
223  double* pdVMax,
224  double tStart,
225  double tEnd,
226  uint32_t nDimension,
227  IndexItemH** items,
228  uint64_t* nResults);
229 
231  double* pdMin,
232  double* pdMax,
233  double tStart,
234  double tEnd,
235  uint32_t nDimension,
236  IndexItemH** items,
237  uint64_t* nResults);
238 
240  double* pdMin,
241  double* pdMax,
242  uint32_t nDimension,
243  IndexItemH** items,
244  uint64_t* nResults);
245 
247  double* pdMin,
248  double* pdMax,
249  double* pdVMin,
250  double* pdVMax,
251  double tStart,
252  double tEnd,
253  uint32_t nDimension,
254  int64_t** ids,
255  uint64_t* nResults);
256 
258  double* pdMin,
259  double* pdMax,
260  double tStart,
261  double tEnd,
262  uint32_t nDimension,
263  int64_t** ids,
264  uint64_t* nResults);
265 
267  double* pdMin,
268  double* pdMax,
269  uint32_t nDimension,
270  int64_t** items,
271  uint64_t* nResults);
272 
274  int64_t knn,
275  int64_t n,
276  uint32_t d,
277  uint64_t idsz,
278  uint64_t d_i_stri,
279  uint64_t d_j_stri,
280  const double* mins,
281  const double* maxs,
282  int64_t* ids,
283  uint64_t* cnts,
284  double* dists,
285  int64_t* nr);
286 
288  double* pdMin,
289  double* pdMax,
290  uint32_t nDimension,
291  IndexItemH** items,
292  uint64_t* nResults);
293 
295  double** ppdMin,
296  double** ppdMax,
297  uint32_t* nDimension);
298 
299 
301  uint32_t* nLeafNodes,
302  uint32_t** nLeafSizes,
303  int64_t** nLeafIDs,
304  int64_t*** nLeafChildIDs,
305  double*** pppdMin,
306  double*** pppdMax,
307  uint32_t* nDimension);
308 
309 SIDX_DLL RTError Index_SetResultSetOffset(IndexH index, int64_t value);
311 
312 SIDX_DLL RTError Index_SetResultSetLimit(IndexH index, int64_t value);
314 
315 SIDX_DLL void Index_DestroyObjResults(IndexItemH* results, uint32_t nResults);
316 SIDX_DLL void Index_ClearBuffer(IndexH index);
317 SIDX_DLL void Index_Free(void* object);
318 SIDX_DLL void Index_Flush(IndexH index);
319 
321 SIDX_DLL int64_t IndexItem_GetID(IndexItemH item);
322 
323 SIDX_DLL RTError IndexItem_GetData(IndexItemH item, uint8_t** data, uint64_t* length);
324 
326  double** ppdMin,
327  double** ppdMax,
328  uint32_t* nDimension);
329 
332 
335 
338 
341 
344 
347 
350 
353 
356 
359 
362 
365 
368 
371 
374 
377 
380 
383 
386 
389 
392 
393 SIDX_DLL RTError IndexProperty_SetFileName(IndexPropertyH iprop, const char* value);
395 
398 
401 
404 
407 
410 
411 SIDX_C_DLL void* SIDX_NewBuffer(size_t bytes);
412 SIDX_C_DLL void SIDX_DeleteBuffer(void* buffer);
413 
416 
417 SIDX_C_DLL char* SIDX_Version(void);
418 
420 
421 IDX_C_END
422 
423 #endif
SIDX_DLL RTError Index_Intersects_id(IndexH index, double *pdMin, double *pdMax, uint32_t nDimension, int64_t **items, uint64_t *nResults)
Definition: sidx_api.cc:1014
SIDX_DLL RTError IndexProperty_SetPagesize(IndexPropertyH iprop, uint32_t value)
Definition: sidx_api.cc:2683
SIDX_C_DLL RTError Index_InsertTPData(IndexH index, int64_t id, double *pdMin, double *pdMax, double *pdVMin, double *pdVMax, double tStart, double tEnd, uint32_t nDimension, const uint8_t *pData, size_t nDataLength)
Definition: sidx_api.cc:417
SIDX_C_DLL RTError Index_MVRNearestNeighbors_id(IndexH index, double *pdMin, double *pdMax, double tStart, double tEnd, uint32_t nDimension, int64_t **ids, uint64_t *nResults)
Definition: sidx_api.cc:1534
SIDX_DLL RTError IndexProperty_SetWriteThrough(IndexPropertyH iprop, uint32_t value)
Definition: sidx_api.cc:3172
IDX_C_START SIDX_DLL IndexH Index_Create(IndexPropertyH properties)
Definition: sidx_api.cc:170
SIDX_DLL RTError IndexItem_GetData(IndexItemH item, uint8_t **data, uint64_t *length)
Definition: sidx_api.cc:2200
SIDX_DLL RTError Index_SetResultSetLimit(IndexH index, int64_t value)
Definition: sidx_api.cc:2019
SIDX_DLL char * IndexProperty_GetFileNameExtensionDat(IndexPropertyH iprop)
Definition: sidx_api.cc:3650
SIDX_DLL uint32_t IndexProperty_GetNearMinimumOverlapFactor(IndexPropertyH iprop)
Definition: sidx_api.cc:3018
SIDX_DLL RTError IndexProperty_SetIndexVariant(IndexPropertyH iprop, RTIndexVariant value)
Definition: sidx_api.cc:2407
SIDX_DLL uint32_t IndexProperty_GetDimension(IndexPropertyH iprop)
Definition: sidx_api.cc:2380
SIDX_DLL RTIndexVariant IndexProperty_GetIndexVariant(IndexPropertyH iprop)
Definition: sidx_api.cc:2464
SIDX_DLL RTError Index_Intersects_count(IndexH index, double *pdMin, double *pdMax, uint32_t nDimension, uint64_t *nResults)
Definition: sidx_api.cc:1225
SIDX_DLL uint32_t IndexProperty_GetIndexPoolCapacity(IndexPropertyH iprop)
Definition: sidx_api.cc:2836
SIDX_DLL RTError IndexProperty_SetIndexCapacity(IndexPropertyH iprop, uint32_t value)
Definition: sidx_api.cc:2563
SIDX_DLL RTError IndexProperty_SetDimension(IndexPropertyH iprop, uint32_t value)
Definition: sidx_api.cc:2348
SIDX_DLL IndexH Index_CreateWithArray(IndexPropertyH properties, uint64_t n, uint32_t dimension, uint64_t i_stri, uint64_t d_i_stri, uint64_t d_j_stri, int64_t *ids, double *mins, double *maxs)
Definition: sidx_api.cc:227
SIDX_DLL RTError Index_GetBounds(IndexH index, double **ppdMin, double **ppdMax, uint32_t *nDimension)
Definition: sidx_api.cc:1939
SIDX_DLL RTError IndexProperty_SetBufferingCapacity(IndexPropertyH iprop, uint32_t value)
Definition: sidx_api.cc:3046
SIDX_DLL uint32_t IndexProperty_GetIndexCapacity(IndexPropertyH iprop)
Definition: sidx_api.cc:2596
SIDX_DLL uint32_t Index_IsValid(IndexH index)
Definition: sidx_api.cc:2043
SIDX_C_DLL RTError Index_Contains_obj(IndexH index, double *pdMin, double *pdMax, uint32_t nDimension, IndexItemH **items, uint64_t *nResults)
Definition: sidx_api.cc:797
SIDX_DLL uint32_t IndexProperty_GetLeafPoolCapacity(IndexPropertyH iprop)
Definition: sidx_api.cc:2776
SIDX_DLL RTError IndexProperty_SetIndexStorage(IndexPropertyH iprop, RTStorageType value)
Definition: sidx_api.cc:2496
SIDX_DLL uint64_t IndexProperty_GetResultSetLimit(IndexPropertyH iprop)
Definition: sidx_api.cc:3980
SIDX_C_DLL RTError Index_NearestNeighbors_id_v(IndexH index, int64_t knn, int64_t n, uint32_t d, uint64_t idsz, uint64_t d_i_stri, uint64_t d_j_stri, const double *mins, const double *maxs, int64_t *ids, uint64_t *cnts, double *dists, int64_t *nr)
Definition: sidx_api.cc:1636
SIDX_C_DLL RTError Index_TPNearestNeighbors_obj(IndexH index, double *pdMin, double *pdMax, double *pdVMin, double *pdVMax, double tStart, double tEnd, uint32_t nDimension, IndexItemH **items, uint64_t *nResults)
Definition: sidx_api.cc:1716
SIDX_DLL char * IndexProperty_GetFileNameExtensionIdx(IndexPropertyH iprop)
Definition: sidx_api.cc:3713
SIDX_DLL RTError IndexProperty_SetPointPoolCapacity(IndexPropertyH iprop, uint32_t value)
Definition: sidx_api.cc:2923
SIDX_C_DLL RTError Index_Intersects_id_v(IndexH index, int64_t n, uint32_t d, uint64_t idsz, uint64_t d_i_stri, uint64_t d_j_stri, const double *mins, const double *maxs, int64_t *ids, uint64_t *cnts, int64_t *nr)
Definition: sidx_api.cc:1055
SIDX_C_DLL RTError Index_MVRIntersects_obj(IndexH index, double *pdMin, double *pdMax, double tStart, double tEnd, uint32_t nDimension, IndexItemH **items, uint64_t *nResults)
Definition: sidx_api.cc:691
SIDX_C_DLL RTError Index_TPIntersects_count(IndexH index, double *pdMin, double *pdMax, double *pdVMin, double *pdVMax, double tStart, double tEnd, uint32_t nDimension, uint64_t *nResults)
Definition: sidx_api.cc:1124
SIDX_C_DLL char * Error_GetLastErrorMsg(void)
Definition: sidx_api.cc:114
SIDX_DLL RTError IndexProperty_SetRegionPoolCapacity(IndexPropertyH iprop, uint32_t value)
Definition: sidx_api.cc:2863
SIDX_DLL uint32_t IndexProperty_GetCustomStorageCallbacksSize(IndexPropertyH iprop)
Definition: sidx_api.cc:3773
SIDX_DLL void Index_DestroyObjResults(IndexItemH *results, uint32_t nResults)
Definition: sidx_api.cc:2070
SIDX_DLL RTError IndexProperty_SetFillFactor(IndexPropertyH iprop, double value)
Definition: sidx_api.cc:3305
SIDX_DLL double IndexProperty_GetTPRHorizon(IndexPropertyH iprop)
Definition: sidx_api.cc:3462
SIDX_DLL RTError IndexProperty_SetCustomStorageCallbacks(IndexPropertyH iprop, const void *value)
Definition: sidx_api.cc:3800
SIDX_DLL RTError IndexProperty_SetReinsertFactor(IndexPropertyH iprop, double value)
Definition: sidx_api.cc:3489
SIDX_C_DLL RTError Index_DeleteMVRData(IndexH index, int64_t id, double *pdMin, double *pdMax, double tStart, double tEnd, uint32_t nDimension)
Definition: sidx_api.cc:348
SIDX_DLL void IndexProperty_Destroy(IndexPropertyH hProp)
Definition: sidx_api.cc:2277
SIDX_DLL RTError IndexProperty_SetIndexPoolCapacity(IndexPropertyH iprop, uint32_t value)
Definition: sidx_api.cc:2803
SIDX_DLL double IndexProperty_GetFillFactor(IndexPropertyH iprop)
Definition: sidx_api.cc:3338
SIDX_DLL uint32_t IndexProperty_GetBufferingCapacity(IndexPropertyH iprop)
Definition: sidx_api.cc:3079
SIDX_DLL void IndexItem_Destroy(IndexItemH item)
Definition: sidx_api.cc:2193
SIDX_C_DLL RTError Index_MVRIntersects_count(IndexH index, double *pdMin, double *pdMax, double tStart, double tEnd, uint32_t nDimension, uint64_t *nResults)
Definition: sidx_api.cc:1175
SIDX_C_DLL RTError Index_InsertMVRData(IndexH index, int64_t id, double *pdMin, double *pdMax, double tStart, double tEnd, uint32_t nDimension, const uint8_t *pData, size_t nDataLength)
Definition: sidx_api.cc:494
SIDX_DLL int64_t IndexItem_GetID(IndexItemH item)
Definition: sidx_api.cc:2220
SIDX_C_DLL RTError Index_TPIntersects_id(IndexH index, double *pdMin, double *pdMax, double *pdVMin, double *pdVMax, double tStart, double tEnd, uint32_t nDimension, int64_t **ids, uint64_t *nResults)
Definition: sidx_api.cc:847
SIDX_DLL RTError IndexProperty_SetSplitDistributionFactor(IndexPropertyH iprop, double value)
Definition: sidx_api.cc:3365
SIDX_DLL char * IndexProperty_GetFileName(IndexPropertyH iprop)
Definition: sidx_api.cc:3586
SIDX_DLL RTError IndexProperty_SetOverwrite(IndexPropertyH iprop, uint32_t value)
Definition: sidx_api.cc:3238
SIDX_DLL double IndexProperty_GetSplitDistributionFactor(IndexPropertyH iprop)
Definition: sidx_api.cc:3400
SIDX_C_DLL RTError Index_TPIntersects_obj(IndexH index, double *pdMin, double *pdMax, double *pdVMin, double *pdVMax, double tStart, double tEnd, uint32_t nDimension, IndexItemH **items, uint64_t *nResults)
Definition: sidx_api.cc:634
SIDX_DLL RTError Index_Intersects_internal(IndexH index, double *pdMin, double *pdMax, uint32_t nDimension, IndexItemH **items, uint64_t *nResults)
Definition: sidx_api.cc:1889
SIDX_DLL void Index_ClearBuffer(IndexH index)
Definition: sidx_api.cc:2063
SIDX_DLL RTError IndexProperty_SetFileName(IndexPropertyH iprop, const char *value)
Definition: sidx_api.cc:3551
SIDX_DLL RTError Index_NearestNeighbors_obj(IndexH index, double *pdMin, double *pdMax, uint32_t nDimension, IndexItemH **items, uint64_t *nResults)
Definition: sidx_api.cc:1833
SIDX_DLL RTError Index_DeleteData(IndexH index, int64_t id, double *pdMin, double *pdMax, uint32_t nDimension)
Definition: sidx_api.cc:384
SIDX_DLL RTError IndexProperty_SetResultSetLimit(IndexPropertyH iprop, uint64_t value)
Definition: sidx_api.cc:3947
SIDX_DLL IndexPropertyH Index_GetProperties(IndexH index)
Definition: sidx_api.cc:2050
SIDX_DLL RTError Index_InsertData(IndexH index, int64_t id, double *pdMin, double *pdMax, uint32_t nDimension, const uint8_t *pData, size_t nDataLength)
Definition: sidx_api.cc:566
SIDX_C_DLL char * SIDX_Version(void)
Definition: sidx_api.cc:4014
SIDX_DLL uint32_t IndexProperty_GetPagesize(IndexPropertyH iprop)
Definition: sidx_api.cc:2716
SIDX_DLL RTStorageType IndexProperty_GetIndexStorage(IndexPropertyH iprop)
Definition: sidx_api.cc:2532
SIDX_DLL IndexPropertyH IndexProperty_Create(void)
Definition: sidx_api.cc:2270
SIDX_DLL RTIndexType IndexProperty_GetIndexType(IndexPropertyH iprop)
Definition: sidx_api.cc:2322
SIDX_DLL RTError IndexProperty_SetLeafPoolCapacity(IndexPropertyH iprop, uint32_t value)
Definition: sidx_api.cc:2743
SIDX_DLL RTError IndexProperty_SetNearMinimumOverlapFactor(IndexPropertyH iprop, uint32_t value)
Definition: sidx_api.cc:2983
SIDX_C_DLL RTError Index_GetLeaves(IndexH index, uint32_t *nLeafNodes, uint32_t **nLeafSizes, int64_t **nLeafIDs, int64_t ***nLeafChildIDs, double ***pppdMin, double ***pppdMax, uint32_t *nDimension)
Definition: sidx_api.cc:2093
SIDX_DLL RTError Index_Intersects_obj(IndexH index, double *pdMin, double *pdMax, uint32_t nDimension, IndexItemH **items, uint64_t *nResults)
Definition: sidx_api.cc:746
SIDX_DLL RTError IndexProperty_SetLeafCapacity(IndexPropertyH iprop, uint32_t value)
Definition: sidx_api.cc:2623
SIDX_C_DLL RTError Index_MVRIntersects_id(IndexH index, double *pdMin, double *pdMax, double tStart, double tEnd, uint32_t nDimension, int64_t **ids, uint64_t *nResults)
Definition: sidx_api.cc:904
SIDX_DLL uint32_t IndexProperty_GetEnsureTightMBRs(IndexPropertyH iprop)
Definition: sidx_api.cc:3145
SIDX_DLL IndexH Index_CreateWithStream(IndexPropertyH properties, int(*readNext)(int64_t *id, double **pMin, double **pMax, uint32_t *nDimension, const uint8_t **pData, size_t *nDataLength))
Definition: sidx_api.cc:197
SIDX_DLL uint32_t IndexProperty_GetWriteThrough(IndexPropertyH iprop)
Definition: sidx_api.cc:3211
SIDX_DLL void Index_Destroy(IndexH index)
Definition: sidx_api.cc:293
SIDX_DLL RTError Index_SetResultSetOffset(IndexH index, int64_t value)
Definition: sidx_api.cc:1995
SIDX_DLL void * IndexProperty_GetCustomStorageCallbacks(IndexPropertyH iprop)
Definition: sidx_api.cc:3855
SIDX_C_DLL RTError Index_Contains_count(IndexH index, double *pdMin, double *pdMax, uint32_t nDimension, uint64_t *nResults)
Definition: sidx_api.cc:1273
SIDX_DLL RTError IndexProperty_SetFileNameExtensionDat(IndexPropertyH iprop, const char *value)
Definition: sidx_api.cc:3614
SIDX_DLL RTError IndexProperty_SetCustomStorageCallbacksSize(IndexPropertyH iprop, uint32_t value)
Definition: sidx_api.cc:3740
SIDX_C_DLL RTError Index_TPNearestNeighbors_id(IndexH index, double *pdMin, double *pdMax, double *pdVMin, double *pdVMax, double tStart, double tEnd, uint32_t nDimension, int64_t **ids, uint64_t *nResults)
Definition: sidx_api.cc:1475
SIDX_DLL int64_t IndexProperty_GetIndexID(IndexPropertyH iprop)
Definition: sidx_api.cc:3915
SIDX_DLL uint32_t IndexProperty_GetPointPoolCapacity(IndexPropertyH iprop)
Definition: sidx_api.cc:2956
SIDX_DLL RTError IndexItem_GetBounds(IndexItemH item, double **ppdMin, double **ppdMax, uint32_t *nDimension)
Definition: sidx_api.cc:2228
SIDX_DLL RTError IndexProperty_SetFileNameExtensionIdx(IndexPropertyH iprop, const char *value)
Definition: sidx_api.cc:3677
SIDX_DLL RTError Index_NearestNeighbors_id(IndexH index, double *pdMin, double *pdMax, uint32_t nDimension, int64_t **items, uint64_t *nResults)
Definition: sidx_api.cc:1591
SIDX_C_DLL RTError Index_Contains_id(IndexH index, double *pdMin, double *pdMax, uint32_t nDimension, int64_t **ids, uint64_t *nResults)
Definition: sidx_api.cc:960
SIDX_DLL int64_t Index_GetResultSetOffset(IndexH index)
Definition: sidx_api.cc:2012
SIDX_DLL uint32_t IndexProperty_GetLeafCapacity(IndexPropertyH iprop)
Definition: sidx_api.cc:2656
SIDX_C_DLL RTError Index_DeleteTPData(IndexH index, int64_t id, double *pdMin, double *pdMax, double *pdVMin, double *pdVMax, double tStart, double tEnd, uint32_t nDimension)
Definition: sidx_api.cc:310
SIDX_C_DLL void SIDX_DeleteBuffer(void *buffer)
Definition: sidx_api.cc:4008
SIDX_DLL RTError IndexProperty_SetEnsureTightMBRs(IndexPropertyH iprop, uint32_t value)
Definition: sidx_api.cc:3106
SIDX_C_DLL RTError Index_MVRNearestNeighbors_obj(IndexH index, double *pdMin, double *pdMax, double tStart, double tEnd, uint32_t nDimension, IndexItemH **items, uint64_t *nResults)
Definition: sidx_api.cc:1775
SIDX_DLL uint32_t IndexProperty_GetOverwrite(IndexPropertyH iprop)
Definition: sidx_api.cc:3277
SIDX_DLL uint32_t IndexProperty_GetRegionPoolCapacity(IndexPropertyH iprop)
Definition: sidx_api.cc:2896
SIDX_DLL RTError IndexProperty_SetIndexID(IndexPropertyH iprop, int64_t value)
Definition: sidx_api.cc:3882
SIDX_DLL RTError IndexProperty_SetTPRHorizon(IndexPropertyH iprop, double value)
Definition: sidx_api.cc:3427
SIDX_DLL double IndexProperty_GetReinsertFactor(IndexPropertyH iprop)
Definition: sidx_api.cc:3524
SIDX_C_DLL void * SIDX_NewBuffer(size_t bytes)
Definition: sidx_api.cc:3942
SIDX_DLL void Index_Flush(IndexH index)
Definition: sidx_api.cc:300
SIDX_DLL RTError IndexProperty_SetIndexType(IndexPropertyH iprop, RTIndexType value)
Definition: sidx_api.cc:2284
SIDX_DLL int64_t Index_GetResultSetLimit(IndexH index)
Definition: sidx_api.cc:2036
SIDX_DLL void Index_Free(void *object)
Definition: sidx_api.cc:2086
#define IDX_C_END
Definition: sidx_config.h:103
RTError
Definition: sidx_config.h:65
struct SpatialIndex_IData * IndexItemH
Definition: sidx_config.h:107
RTIndexVariant
Definition: sidx_config.h:90
struct Tools_PropertySet * IndexPropertyH
Definition: sidx_config.h:108
#define IDX_C_START
Definition: sidx_config.h:102
RTStorageType
Definition: sidx_config.h:82
RTIndexType
Definition: sidx_config.h:74
struct IndexS * IndexH
Definition: sidx_config.h:106
#define SIDX_C_DLL
Definition: sidx_export.h:40
#define SIDX_DLL
Definition: sidx_export.h:41