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)  

specificQuery.h
Go to the documentation of this file.
1 #ifndef SPECIFIC_QUERY_H__
2 #define SPECIFIC_QUERY_H__
3 
4 #include "rcConnect.h"
5 #include "objInfo.h"
6 #include "rodsGenQuery.h"
7 
8 typedef struct {
9  char *sql;
10  char *args[10]; // optional arguments (bind variables)
11 
12  // The following match items in genQueryInp_t:
13  int maxRows; // max number of rows to return, if 0 close out the SQL statement call (i.e. instead of getting more rows until it is finished).
14  int continueInx; // if non-zero, this is the value returned in the genQueryOut structure and the current call is to get more rows.
15  int rowOffset; // Currently unused.
16  int options; // Bits for special options, currently unused.
19 #define specificQueryInp_PI "str *sql; str *arg1; str *arg2; str *arg3; str *arg4; str *arg5; str *arg6; str *arg7; str *arg8; str *arg9; str *arg10; int maxRows; int continueInx; int rowOffset; int options; struct KeyValPair_PI;"
20 
21 #ifdef __cplusplus
22 extern "C"
23 #endif
24 int rcSpecificQuery( rcComm_t *conn, specificQueryInp_t *specificQueryInp, genQueryOut_t **genQueryOut );
25 
26 #endif
specificQueryInp_t::maxRows
int maxRows
Definition: specificQuery.h:13
rcComm_t
Definition: rcConnect.h:95
specificQueryInp_t::continueInx
int continueInx
Definition: specificQuery.h:14
rcConnect.h
specificQueryInp_t::condInput
keyValPair_t condInput
Definition: specificQuery.h:17
specificQueryInp_t
Definition: specificQuery.h:8
specificQueryInp_t::rowOffset
int rowOffset
Definition: specificQuery.h:15
specificQueryInp_t::sql
char * sql
Definition: specificQuery.h:9
GenQueryOut
Definition: rodsGenQuery.h:67
rodsGenQuery.h
objInfo.h
specificQueryInp_t::options
int options
Definition: specificQuery.h:16
KeyValPair
Definition: objInfo.h:120
rcSpecificQuery
int rcSpecificQuery(rcComm_t *conn, specificQueryInp_t *specificQueryInp, genQueryOut_t **genQueryOut)
Definition: rcSpecificQuery.cpp:49