irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

rodsGenQuery.h
Go to the documentation of this file.
1 
4 /* rodsGenQuery.h - common header file for the generalized query input
5  * and results
6  */
7 
8 
9 
10 #ifndef RODS_GEN_QUERY_H__
11 #define RODS_GEN_QUERY_H__
12 
13 #include "objInfo.h"
14 
15 #define MAX_SQL_ATTR 50
16 #define MAX_SQL_ROWS 256
17 
18 /* In genQueryInp_t, selectInp is a int index, int value pair. The index
19  * represents the attribute index.
20  * sqlCondInp is a int index, string value pair. The index
21  * represents the attribute index.
22  */
23 
24 typedef struct GenQueryInp {
25  int maxRows; /* max number of rows to return, if 0
26  close out the SQL statement call (i.e. instead
27  of getting more rows until it is finished). */
28  int continueInx; /* if non-zero, this is the value returned in
29  the genQueryOut structure and the current
30  call is to get more rows. In this case, the
31  selectInp & sqlCondInp arguments are ignored.*/
32  int rowOffset; /* if positive, return rows starting with
33  this index (skip earlier ones), 0-origin */
34  int options; /* Bits for special options, currently:
35  If RETURN_TOTAL_ROW_COUNT is set, the total
36  number of available rows will be returned
37  in totalRowCount (causes a little overhead
38  so only request it if needed). If rowOffset
39  is also used, totalRowCount will include
40  the skipped rows.
41  If NO_DISTINCT is set, the normal 'distinct'
42  keyword is not included in the SQL query.
43  If QUOTA_QUERY is set, do the special quota
44  query.
45  If AUTO_CLOSE is set, close out the statement
46  even if more rows are available. -1 is
47  returned as the continueInx if there were
48  (possibly) additional rows available.
49  If UPPER_CASE_WHERE is set, make the 'where'
50  columns upper case.
51  */
53  inxIvalPair_t selectInp; /* 1st int array is columns to return (select),
54  2nd int array has bits for special options:
55  currently ORDER_BY and ORDER_BY_DESC */
56  inxValPair_t sqlCondInp; /* 1st array is columns for conditions (where),
57  2nd array has strings for the conditions. */
59 
60 
61 typedef struct SqlResult {
62  int attriInx; /* attribute index */
63  int len; /* strlen of each attribute */
64  char *value; /* char array of [rowCnt][len] */
66 
67 typedef struct GenQueryOut {
68  int rowCnt;
69  int attriCnt;
74 
75 /*
76 Bits to set in the value array (genQueryInp.selectInp.value[i]) to
77 order the results by that column, either ascending or descending. This
78 is done in the order of the value array, so the first one will be the
79 primary ordering column.
80 */
81 #define ORDER_BY 0x400
82 #define ORDER_BY_DESC 0x800
83 
84 /*
85  */
86 #define RETURN_TOTAL_ROW_COUNT 0x20
87 #define NO_DISTINCT 0x40
88 #define QUOTA_QUERY 0x80
89 #define AUTO_CLOSE 0x100
90 #define UPPER_CASE_WHERE 0x200
91 
92 
93 /*
94  These are some operations (functions) that can be applied to columns
95  being returned (selected) by setting the input array,
96  genQueryInp.selectInp.value[i], to these values. Values 0 and 1 (or
97  any not defined here) will just return the column content (i.e. the
98  normal, default case). The ORDER_BY and ORDER_BY_DESC bits are also
99  stored in the same input array but are not normally used together
100  with these since these will return one row.
101 */
102 #define SELECT_MIN 2
103 #define SELECT_MAX 3
104 #define SELECT_SUM 4
105 #define SELECT_AVG 5
106 #define SELECT_COUNT 6
107 
108 
109 /*
110  For the integer values below (the COL_* defines), up to 10,000 is reserved
111  the core tables The type can be determined by comparing with this value.
112  */
113 #define MAX_CORE_TABLE_VALUE 10000
114 
115 
116 /*
117  These are the Table Column names used with the GenQuery. Also see
118  the rcatGeneralQuerySetup routine which associates these values with
119  tables and columns. */
120 
121 /* R_ZONE_MAIN: */
122 #define COL_ZONE_ID 101
123 #define COL_ZONE_NAME 102
124 #define COL_ZONE_TYPE 103
125 #define COL_ZONE_CONNECTION 104
126 #define COL_ZONE_COMMENT 105
127 #define COL_ZONE_CREATE_TIME 106
128 #define COL_ZONE_MODIFY_TIME 107
129 
130 /* R_USER_MAIN: */
131 #define COL_USER_ID 201
132 #define COL_USER_NAME 202
133 #define COL_USER_TYPE 203
134 #define COL_USER_ZONE 204
135 #define COL_USER_INFO 206
136 #define COL_USER_COMMENT 207
137 #define COL_USER_CREATE_TIME 208
138 #define COL_USER_MODIFY_TIME 209
139 
140 #define COL_USER_DN_INVALID 205 /* For backward compatibility, irods 2.1 DN */
141 
142 /* R_RESC_MAIN: */
143 #define COL_R_RESC_ID 301
144 #define COL_R_RESC_NAME 302
145 #define COL_R_ZONE_NAME 303
146 #define COL_R_TYPE_NAME 304
147 #define COL_R_CLASS_NAME 305
148 #define COL_R_LOC 306
149 #define COL_R_VAULT_PATH 307
150 #define COL_R_FREE_SPACE 308
151 #define COL_R_RESC_INFO 309
152 #define COL_R_RESC_COMMENT 310
153 #define COL_R_CREATE_TIME 311
154 #define COL_R_MODIFY_TIME 312
155 #define COL_R_RESC_STATUS 313
156 #define COL_R_FREE_SPACE_TIME 314
157 #define COL_R_RESC_CHILDREN 315
158 #define COL_R_RESC_CONTEXT 316
159 #define COL_R_RESC_PARENT 317
160 #define COL_R_RESC_PARENT_CONTEXT 318
161 
162 /* R_DATA_MAIN: */
163 #define COL_D_DATA_ID 401
164 #define COL_D_COLL_ID 402
165 #define COL_DATA_NAME 403
166 #define COL_DATA_REPL_NUM 404
167 #define COL_DATA_VERSION 405
168 #define COL_DATA_TYPE_NAME 406
169 #define COL_DATA_SIZE 407
170 //#define COL_D_RESC_GROUP_NAME 408 // gone in 4.1 #1472
171 #define COL_D_RESC_NAME 409
172 #define COL_D_DATA_PATH 410
173 #define COL_D_OWNER_NAME 411
174 #define COL_D_OWNER_ZONE 412
175 #define COL_D_REPL_STATUS 413 /* isDirty */
176 #define COL_D_DATA_STATUS 414
177 #define COL_D_DATA_CHECKSUM 415
178 #define COL_D_EXPIRY 416
179 #define COL_D_MAP_ID 417
180 #define COL_D_COMMENTS 418
181 #define COL_D_CREATE_TIME 419
182 #define COL_D_MODIFY_TIME 420
183 #define COL_DATA_MODE 421
184 #define COL_D_RESC_HIER 422
185 #define COL_D_RESC_ID 423
186 
187 /* R_COLL_MAIN */
188 #define COL_COLL_ID 500
189 #define COL_COLL_NAME 501
190 #define COL_COLL_PARENT_NAME 502
191 #define COL_COLL_OWNER_NAME 503
192 #define COL_COLL_OWNER_ZONE 504
193 #define COL_COLL_MAP_ID 505
194 #define COL_COLL_INHERITANCE 506
195 #define COL_COLL_COMMENTS 507
196 #define COL_COLL_CREATE_TIME 508
197 #define COL_COLL_MODIFY_TIME 509
198 #define COL_COLL_TYPE 510
199 #define COL_COLL_INFO1 511
200 #define COL_COLL_INFO2 512
201 
202 /* R_META_MAIN */
203 #define COL_META_DATA_ATTR_NAME 600
204 #define COL_META_DATA_ATTR_VALUE 601
205 #define COL_META_DATA_ATTR_UNITS 602
206 #define COL_META_DATA_ATTR_ID 603
207 #define COL_META_DATA_CREATE_TIME 604
208 #define COL_META_DATA_MODIFY_TIME 605
209 
210 #define COL_META_COLL_ATTR_NAME 610
211 #define COL_META_COLL_ATTR_VALUE 611
212 #define COL_META_COLL_ATTR_UNITS 612
213 #define COL_META_COLL_ATTR_ID 613
214 #define COL_META_COLL_CREATE_TIME 614
215 #define COL_META_COLL_MODIFY_TIME 615
216 
217 
218 #define COL_META_NAMESPACE_COLL 620
219 #define COL_META_NAMESPACE_DATA 621
220 #define COL_META_NAMESPACE_RESC 622
221 #define COL_META_NAMESPACE_USER 623
222 #define COL_META_NAMESPACE_RESC_GROUP 624
223 #define COL_META_NAMESPACE_RULE 625
224 #define COL_META_NAMESPACE_MSRVC 626
225 #define COL_META_NAMESPACE_MET2 627
226 
227 
228 #define COL_META_RESC_ATTR_NAME 630
229 #define COL_META_RESC_ATTR_VALUE 631
230 #define COL_META_RESC_ATTR_UNITS 632
231 #define COL_META_RESC_ATTR_ID 633
232 #define COL_META_RESC_CREATE_TIME 634
233 #define COL_META_RESC_MODIFY_TIME 635
234 
235 #define COL_META_USER_ATTR_NAME 640
236 #define COL_META_USER_ATTR_VALUE 641
237 #define COL_META_USER_ATTR_UNITS 642
238 #define COL_META_USER_ATTR_ID 643
239 #define COL_META_USER_CREATE_TIME 644
240 #define COL_META_USER_MODIFY_TIME 645
241 
242 #define COL_META_RESC_GROUP_ATTR_NAME 650
243 #define COL_META_RESC_GROUP_ATTR_VALUE 651
244 #define COL_META_RESC_GROUP_ATTR_UNITS 652
245 #define COL_META_RESC_GROUP_ATTR_ID 653
246 #define COL_META_RESC_GROUP_CREATE_TIME 654
247 #define COL_META_RESC_GROUP_MODIFY_TIME 655
248 
249 #define COL_META_RULE_ATTR_NAME 660
250 #define COL_META_RULE_ATTR_VALUE 661
251 #define COL_META_RULE_ATTR_UNITS 662
252 #define COL_META_RULE_ATTR_ID 663
253 #define COL_META_RULE_CREATE_TIME 664
254 #define COL_META_RULE_MODIFY_TIME 665
255 
256 #define COL_META_MSRVC_ATTR_NAME 670
257 #define COL_META_MSRVC_ATTR_VALUE 671
258 #define COL_META_MSRVC_ATTR_UNITS 672
259 #define COL_META_MSRVC_ATTR_ID 673
260 #define COL_META_MSRVC_CREATE_TIME 674
261 #define COL_META_MSRVC_MODIFY_TIME 675
262 
263 #define COL_META_MET2_ATTR_NAME 680
264 #define COL_META_MET2_ATTR_VALUE 681
265 #define COL_META_MET2_ATTR_UNITS 682
266 #define COL_META_MET2_ATTR_ID 683
267 #define COL_META_MET2_CREATE_TIME 684
268 #define COL_META_MET2_MODIFY_TIME 685
269 
270 
271 /* R_OBJT_ACCESS */
272 #define COL_DATA_ACCESS_TYPE 700
273 #define COL_DATA_ACCESS_NAME 701
274 #define COL_DATA_TOKEN_NAMESPACE 702
275 #define COL_DATA_ACCESS_USER_ID 703
276 #define COL_DATA_ACCESS_DATA_ID 704
277 
278 #define COL_COLL_ACCESS_TYPE 710
279 #define COL_COLL_ACCESS_NAME 711
280 #define COL_COLL_TOKEN_NAMESPACE 712
281 #define COL_COLL_ACCESS_USER_ID 713
282 #define COL_COLL_ACCESS_COLL_ID 714
283 
284 
285 #define COL_RESC_ACCESS_TYPE 720
286 #define COL_RESC_ACCESS_NAME 721
287 #define COL_RESC_TOKEN_NAMESPACE 722
288 #define COL_RESC_ACCESS_USER_ID 723
289 #define COL_RESC_ACCESS_RESC_ID 724
290 
291 #define COL_META_ACCESS_TYPE 730
292 #define COL_META_ACCESS_NAME 731
293 #define COL_META_TOKEN_NAMESPACE 732
294 #define COL_META_ACCESS_USER_ID 733
295 #define COL_META_ACCESS_META_ID 734
296 
297 #define COL_RULE_ACCESS_TYPE 740
298 #define COL_RULE_ACCESS_NAME 741
299 #define COL_RULE_TOKEN_NAMESPACE 742
300 #define COL_RULE_ACCESS_USER_ID 743
301 #define COL_RULE_ACCESS_RULE_ID 744
302 
303 #define COL_MSRVC_ACCESS_TYPE 750
304 #define COL_MSRVC_ACCESS_NAME 751
305 #define COL_MSRVC_TOKEN_NAMESPACE 752
306 #define COL_MSRVC_ACCESS_USER_ID 753
307 #define COL_MSRVC_ACCESS_MSRVC_ID 754
308 
309 
310 
311 /* R_RESC_GROUP */
312 //#define COL_RESC_GROUP_RESC_ID 800 // gone in 4.1 #1472
313 //#define COL_RESC_GROUP_NAME 801
314 //#define COL_RESC_GROUP_ID 802
315 
316 /* R_USER_GROUP / USER */
317 #define COL_USER_GROUP_ID 900
318 #define COL_USER_GROUP_NAME 901
319 
320 /* R_RULE_EXEC */
321 #define COL_RULE_EXEC_ID 1000
322 #define COL_RULE_EXEC_NAME 1001
323 #define COL_RULE_EXEC_REI_FILE_PATH 1002
324 #define COL_RULE_EXEC_USER_NAME 1003
325 #define COL_RULE_EXEC_ADDRESS 1004
326 #define COL_RULE_EXEC_TIME 1005
327 #define COL_RULE_EXEC_FREQUENCY 1006
328 #define COL_RULE_EXEC_PRIORITY 1007
329 #define COL_RULE_EXEC_ESTIMATED_EXE_TIME 1008
330 #define COL_RULE_EXEC_NOTIFICATION_ADDR 1009
331 #define COL_RULE_EXEC_LAST_EXE_TIME 1010
332 #define COL_RULE_EXEC_STATUS 1011
333 
334 /* R_TOKN_MAIN */
335 #define COL_TOKEN_NAMESPACE 1100
336 #define COL_TOKEN_ID 1101
337 #define COL_TOKEN_NAME 1102
338 #define COL_TOKEN_VALUE 1103
339 #define COL_TOKEN_VALUE2 1104
340 #define COL_TOKEN_VALUE3 1105
341 #define COL_TOKEN_COMMENT 1106
342 
343 /* R_OBJT_AUDIT */
344 #define COL_AUDIT_OBJ_ID 1200
345 #define COL_AUDIT_USER_ID 1201
346 #define COL_AUDIT_ACTION_ID 1202
347 #define COL_AUDIT_COMMENT 1203
348 #define COL_AUDIT_CREATE_TIME 1204
349 #define COL_AUDIT_MODIFY_TIME 1205
350 
351 /* Range of the Audit columns; used sometimes to restrict access */
352 #define COL_AUDIT_RANGE_START 1200
353 #define COL_AUDIT_RANGE_END 1299
354 
355 /* R_COLL_USER_MAIN (r_user_main for Collection information) */
356 #define COL_COLL_USER_NAME 1300
357 #define COL_COLL_USER_ZONE 1301
358 
359 /* R_DATA_USER_MAIN (r_user_main for Data information specifically) */
360 #define COL_DATA_USER_NAME 1310
361 #define COL_DATA_USER_ZONE 1311
362 
363 /* R_DATA_USER_MAIN (r_user_main for Data information specifically) */
364 #define COL_RESC_USER_NAME 1320
365 #define COL_RESC_USER_ZONE 1321
366 
367 /* R_SERVER_LOAD */
368 #define COL_SL_HOST_NAME 1400
369 #define COL_SL_RESC_NAME 1401
370 #define COL_SL_CPU_USED 1402
371 #define COL_SL_MEM_USED 1403
372 #define COL_SL_SWAP_USED 1404
373 #define COL_SL_RUNQ_LOAD 1405
374 #define COL_SL_DISK_SPACE 1406
375 #define COL_SL_NET_INPUT 1407
376 #define COL_SL_NET_OUTPUT 1408
377 #define COL_SL_NET_OUTPUT 1408
378 #define COL_SL_CREATE_TIME 1409
379 
380 /* R_SERVER_LOAD_DIGEST */
381 #define COL_SLD_RESC_NAME 1500
382 #define COL_SLD_LOAD_FACTOR 1501
383 #define COL_SLD_CREATE_TIME 1502
384 
385 /* R_USER_AUTH (for GSI/KRB) */
386 #define COL_USER_AUTH_ID 1600
387 #define COL_USER_DN 1601
388 
389 /* R_RULE_MAIN */
390 #define COL_RULE_ID 1700
391 #define COL_RULE_VERSION 1701
392 #define COL_RULE_BASE_NAME 1702
393 #define COL_RULE_NAME 1703
394 #define COL_RULE_EVENT 1704
395 #define COL_RULE_CONDITION 1705
396 #define COL_RULE_BODY 1706
397 #define COL_RULE_RECOVERY 1707
398 #define COL_RULE_STATUS 1708
399 #define COL_RULE_OWNER_NAME 1709
400 #define COL_RULE_OWNER_ZONE 1710
401 #define COL_RULE_DESCR_1 1711
402 #define COL_RULE_DESCR_2 1712
403 #define COL_RULE_INPUT_PARAMS 1713
404 #define COL_RULE_OUTPUT_PARAMS 1714
405 #define COL_RULE_DOLLAR_VARS 1715
406 #define COL_RULE_ICAT_ELEMENTS 1716
407 #define COL_RULE_SIDEEFFECTS 1717
408 #define COL_RULE_COMMENT 1718
409 #define COL_RULE_CREATE_TIME 1719
410 #define COL_RULE_MODIFY_TIME 1720
411 
412 /* R_RULE_BASE_MAP (for storing versions of the rules */
413 #define COL_RULE_BASE_MAP_VERSION 1721
414 #define COL_RULE_BASE_MAP_BASE_NAME 1722
415 #define COL_RULE_BASE_MAP_OWNER_NAME 1723
416 #define COL_RULE_BASE_MAP_OWNER_ZONE 1724
417 #define COL_RULE_BASE_MAP_COMMENT 1725
418 #define COL_RULE_BASE_MAP_CREATE_TIME 1726
419 #define COL_RULE_BASE_MAP_MODIFY_TIME 1727
420 #define COL_RULE_BASE_MAP_PRIORITY 1728
421 
422 /* R_RULE_DVM (Data Variable Mapping) */
423 #define COL_DVM_ID 1800
424 #define COL_DVM_VERSION 1801
425 #define COL_DVM_BASE_NAME 1802
426 #define COL_DVM_EXT_VAR_NAME 1803
427 #define COL_DVM_CONDITION 1804
428 #define COL_DVM_INT_MAP_PATH 1805
429 #define COL_DVM_STATUS 1806
430 #define COL_DVM_OWNER_NAME 1807
431 #define COL_DVM_OWNER_ZONE 1808
432 #define COL_DVM_COMMENT 1809
433 #define COL_DVM_CREATE_TIME 1810
434 #define COL_DVM_MODIFY_TIME 1811
435 
436 /* R_RULE_DVM_MAP (for storing versions of the rules */
437 #define COL_DVM_BASE_MAP_VERSION 1812
438 #define COL_DVM_BASE_MAP_BASE_NAME 1813
439 #define COL_DVM_BASE_MAP_OWNER_NAME 1814
440 #define COL_DVM_BASE_MAP_OWNER_ZONE 1815
441 #define COL_DVM_BASE_MAP_COMMENT 1816
442 #define COL_DVM_BASE_MAP_CREATE_TIME 1817
443 #define COL_DVM_BASE_MAP_MODIFY_TIME 1818
444 
445 /* R_RULE_FNM (Function Name Mapping) */
446 #define COL_FNM_ID 1900
447 #define COL_FNM_VERSION 1901
448 #define COL_FNM_BASE_NAME 1902
449 #define COL_FNM_EXT_FUNC_NAME 1903
450 #define COL_FNM_INT_FUNC_NAME 1904
451 #define COL_FNM_STATUS 1905
452 #define COL_FNM_OWNER_NAME 1906
453 #define COL_FNM_OWNER_ZONE 1907
454 #define COL_FNM_COMMENT 1908
455 #define COL_FNM_CREATE_TIME 1909
456 #define COL_FNM_MODIFY_TIME 1910
457 
458 /* R_RULE_FNM_MAP (for storing versions of the rules */
459 #define COL_FNM_BASE_MAP_VERSION 1911
460 #define COL_FNM_BASE_MAP_BASE_NAME 1912
461 #define COL_FNM_BASE_MAP_OWNER_NAME 1913
462 #define COL_FNM_BASE_MAP_OWNER_ZONE 1914
463 #define COL_FNM_BASE_MAP_COMMENT 1915
464 #define COL_FNM_BASE_MAP_CREATE_TIME 1916
465 #define COL_FNM_BASE_MAP_MODIFY_TIME 1917
466 
467 /* R_QUOTA_MAIN */
468 #define COL_QUOTA_USER_ID 2000
469 #define COL_QUOTA_RESC_ID 2001
470 #define COL_QUOTA_LIMIT 2002
471 #define COL_QUOTA_OVER 2003
472 #define COL_QUOTA_MODIFY_TIME 2004
473 
474 /* R_QUOTA_USAGE */
475 #define COL_QUOTA_USAGE_USER_ID 2010
476 #define COL_QUOTA_USAGE_RESC_ID 2011
477 #define COL_QUOTA_USAGE 2012
478 #define COL_QUOTA_USAGE_MODIFY_TIME 2013
479 
480 /* For use with quotas */
481 #define COL_QUOTA_RESC_NAME 2020
482 #define COL_QUOTA_USER_NAME 2021
483 #define COL_QUOTA_USER_ZONE 2022
484 #define COL_QUOTA_USER_TYPE 2023
485 
486 #define COL_MSRVC_ID 2100
487 #define COL_MSRVC_NAME 2101
488 #define COL_MSRVC_SIGNATURE 2102
489 #define COL_MSRVC_DOXYGEN 2103
490 #define COL_MSRVC_VARIATIONS 2104
491 #define COL_MSRVC_STATUS 2105
492 #define COL_MSRVC_OWNER_NAME 2106
493 #define COL_MSRVC_OWNER_ZONE 2107
494 #define COL_MSRVC_COMMENT 2108
495 #define COL_MSRVC_CREATE_TIME 2109
496 #define COL_MSRVC_MODIFY_TIME 2110
497 #define COL_MSRVC_VERSION 2111
498 #define COL_MSRVC_HOST 2112
499 #define COL_MSRVC_LOCATION 2113
500 #define COL_MSRVC_LANGUAGE 2114
501 #define COL_MSRVC_TYPE_NAME 2115
502 #define COL_MSRVC_MODULE_NAME 2116
503 
504 #define COL_MSRVC_VER_OWNER_NAME 2150
505 #define COL_MSRVC_VER_OWNER_ZONE 2151
506 #define COL_MSRVC_VER_COMMENT 2152
507 #define COL_MSRVC_VER_CREATE_TIME 2153
508 #define COL_MSRVC_VER_MODIFY_TIME 2154
509 
510 /* Tickets */
511 #define COL_TICKET_ID 2200
512 #define COL_TICKET_STRING 2201
513 #define COL_TICKET_TYPE 2202
514 #define COL_TICKET_USER_ID 2203
515 #define COL_TICKET_OBJECT_ID 2204
516 #define COL_TICKET_OBJECT_TYPE 2205
517 #define COL_TICKET_USES_LIMIT 2206
518 #define COL_TICKET_USES_COUNT 2207
519 #define COL_TICKET_EXPIRY_TS 2208
520 #define COL_TICKET_CREATE_TIME 2209
521 #define COL_TICKET_MODIFY_TIME 2210
522 #define COL_TICKET_WRITE_FILE_COUNT 2211
523 #define COL_TICKET_WRITE_FILE_LIMIT 2212
524 #define COL_TICKET_WRITE_BYTE_COUNT 2213
525 #define COL_TICKET_WRITE_BYTE_LIMIT 2214
526 
527 #define COL_TICKET_ALLOWED_HOST_TICKET_ID 2220
528 #define COL_TICKET_ALLOWED_HOST 2221
529 #define COL_TICKET_ALLOWED_USER_TICKET_ID 2222
530 #define COL_TICKET_ALLOWED_USER_NAME 2223
531 #define COL_TICKET_ALLOWED_GROUP_TICKET_ID 2224
532 #define COL_TICKET_ALLOWED_GROUP_NAME 2225
533 
534 #define COL_TICKET_DATA_NAME 2226
535 #define COL_TICKET_DATA_COLL_NAME 2227
536 #define COL_TICKET_COLL_NAME 2228
537 
538 #define COL_TICKET_OWNER_NAME 2229
539 #define COL_TICKET_OWNER_ZONE 2230
540 
541 #endif /* RODS_GEN_QUERY_H__ */
GenQueryOut::totalRowCount
int totalRowCount
Definition: rodsGenQuery.h:71
GenQueryInp::continueInx
int continueInx
Definition: rodsGenQuery.h:28
SqlResult::attriInx
int attriInx
Definition: rodsGenQuery.h:62
GenQueryInp
Definition: rodsGenQuery.h:24
GenQueryInp::selectInp
inxIvalPair_t selectInp
Definition: rodsGenQuery.h:53
GenQueryInp::maxRows
int maxRows
Definition: rodsGenQuery.h:25
GenQueryOut::sqlResult
sqlResult_t sqlResult[50]
Definition: rodsGenQuery.h:72
genQueryInp_t
struct GenQueryInp genQueryInp_t
GenQueryOut::continueInx
int continueInx
Definition: rodsGenQuery.h:70
GenQueryInp::condInput
keyValPair_t condInput
Definition: rodsGenQuery.h:52
GenQueryInp::sqlCondInp
inxValPair_t sqlCondInp
Definition: rodsGenQuery.h:56
MAX_SQL_ATTR
#define MAX_SQL_ATTR
Definition: rodsGenQuery.h:15
GenQueryInp::rowOffset
int rowOffset
Definition: rodsGenQuery.h:32
GenQueryOut
Definition: rodsGenQuery.h:67
GenQueryOut::attriCnt
int attriCnt
Definition: rodsGenQuery.h:69
sqlResult_t
struct SqlResult sqlResult_t
GenQueryOut::rowCnt
int rowCnt
Definition: rodsGenQuery.h:68
SqlResult::value
char * value
Definition: rodsGenQuery.h:64
objInfo.h
SqlResult
Definition: rodsGenQuery.h:61
InxIvalPair
Definition: objInfo.h:205
SqlResult::len
int len
Definition: rodsGenQuery.h:63
KeyValPair
Definition: objInfo.h:120
InxValPair
Definition: objInfo.h:213
GenQueryInp::options
int options
Definition: rodsGenQuery.h:34
genQueryOut_t
struct GenQueryOut genQueryOut_t