Sun Microsystems 5800 Computer Drive User Manual


 
HCERR_NULL_SESSION
HCERR_INVALID_SESSION
HCERR_INVALID_OID
HCERR_ILLEGAL_ARGUMENT
Querying Metadata
The following functions are dened for simple queries:
hc_query_ez on page 94
hc_qrs_next_ez on page 96
hc_qrs_is_query_complete” on page 97
hc_qrs_get_query_integrity_time” on page 98
hc_qrs_free on page 99
The following functions are dened for prepared statement queries:
hc_pstmt_create” on page 100
hc_pstmt_free on page 101
hc_pstmt_set_string” on page 101
hc_pstmt_set_char” on page 102
hc_pstmt_set_double” on page 103
hc_pstmt_set_long” on page 104
hc_pstmt_set_date” on page 105
hc_pstmt_set_time” on page 106
hc_pstmt_set_timestamp” on page 107
hc_pstmt_set_binary” on page 108
hc_pstmt_query_ez” on page 109
Prepared statement example:
“Querying With a Prepared Statement” on page 110
hc_query_ez
Retrieves OIDs and optionally name-value records matching a query.
Synopsis
hcerr_t hc_query_ez(hc_session_t *session,
hc_string_t query,
hc_string_t selects[],
int n_selects,
SynchronousCAPI Functions
SunStorageTek 5800SystemClientAPIReferenceManual June 200894