IN: The session for the host and port to talk to.
IN: Query (where clause with names in single quotes).
IN: Points to an array of hc_string_t, each member of which is the name of a field to retrieve from the metadata (select clause). Set to NULL to only retrieve OIDs matching the query.
IN: The number of items in the select clause.
IN: The number of results to return on each fetch from the server. results_per_fetch must be greater than 0.
OUT: Updated to point to the new result set. See hc_query_result_set_t.