finishedp
OUT:Points to an int thatis updated to 0if query data has been returned and to 1if the result
setis empty.
ReturnCodes
HCERR_OK
HCERR_OOM
HCERR_BAD_REQUEST
HCERR_INVALID_RESULT_SET
HCERR_ILLEGAL_ARGUMENT
hc_qrs_is_query_complete
Indicateswhether results of this query are complete in the sense that all objects that match the
query,aside from possible store index exceptions, are included in the result set,
Synopsis
hcerr_t hc_qrs_is_query_complete(hc_query_result_set_t *rset,
int *completep);
Description
Indicateswhether results of this query are complete in the sense that all objects that match the
query,aside from possible store index exceptions, are included in the result set. Applications
thatdepend on completeness of query results can interrogate hc_qrs_is_query_complete after
retrievingall the query results that match a particular query. When completep isset to 1, the
onlyitems that should be missing from the result set are store index exceptions that were
indicatedto the application by a value of 0in the is_indexed eldof the hc_system_record_t
structurereturned from the store.
Parameters
rset
IN:Current query result set. See hc_query_result_set_t” on page 49.
completep
OUT:Points to an int thatis updated to 1if all objects that match the query (other than
potentialstore index exceptions) should be present in the result set
SynchronousCAPI Functions
Chapter3 Sun StorageTek5800 System C Client API 97