Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
|
json_t * GetQueryResultAsResourcesJSON(const QueryResults *const qrs_p)
Get the json representation of a QueryResults in the format of a Resource.
char * BuildQueryString(const char **args_ss)
Build a new query string to use to execute a query.
void FreeQueryResults(QueryResults *result_p)
Free a QueryResults.
A datatype for accessing a single result of a search on an iRODS server.
Definition: query.h:40
QueryResults * GetAllMetadataAttributeValues(struct IRodsConnection *connection_p, const int key_id, const char *const key_s, const int value_id)
Get all of the data attribute names within the iCAT system of an iRODS server for give column id.
QueryResults * GetAllMetadataUserAttributeNames(struct IRodsConnection *connection_p)
Get all of the user attribute names within the iCAT system of an iRODS server.
QueryResults * GetAllMetadataDataAttributeValues(struct IRodsConnection *connection_p, const char *const name_s)
Get all of the data attribute values for the given name within the iCAT system of an iRODS server.
This is a wrapper which hides the internals of the code and objects needed to access an iRODS system.
Definition: irods_connection.h:42
QueryResults * GetAllMetadataDataAttributeNames(struct IRodsConnection *connection_p)
Get all of the data attribute names within the iCAT system of an iRODS server.
#define IRODS_UTIL_API
Definition: irods_util_library.h:46
QueryResult * qr_values_p
The array of results.
Definition: query.h:68
void PrintQueryResults(FILE *out_f, const QueryResults *const result_p)
Print a QueryResults to an output FILE.
LinkedList * GetQueryResultsPaths(const QueryResults *const qrs_p)
Get the full path to all collections and data objects in the given QueryResults.
void PrintQueryResult(FILE *out_f, const QueryResult *const result_p)
Print a QueryResult to an output FILE.
void FreeBuiltQueryString(char *query_s)
Free a previously generated query string.
A doubly-linked list that can be traversed in either direction.
Definition: linked_list.h:56
json_t * GetQueryResultAsJSON(const QueryResults *const results_p)
Get the json representation of a QueryResults.
A datatype for holding an array of the results of a search on an iRODS server.
Definition: query.h:62
QueryResults * GetAllMetadataCollectionAttributeNames(struct IRodsConnection *connection_p)
Get all of the collection attribute names within the iCAT system of an iRODS server.
#define IRODS_UTIL_LOCAL
Definition: irods_util_library.h:47
int qr_num_results
The number of results in the array.
Definition: query.h:65