Storing Data and Metadata ......................................................................................................... 87
hc_store_both_ez ...................................................................................................................... 87
hc_store_metadata_ez .............................................................................................................. 88
hc_check_indexed_ez ................................................................................................................ 89
Retrieving Data and Metadata .................................................................................................... 91
hc_retrieve_ez .......................................................................................................................... 91
hc_retrieve_metadata_ez ....................................................................................................... 92
hc_range_retrieve_ez .............................................................................................................. 93
Querying Metadata ...................................................................................................................... 94
hc_query_ez ................................................................................................................................. 94
hc_qrs_next_ez .......................................................................................................................... 96
hc_qrs_is_query_complete ..................................................................................................... 97
hc_qrs_get_query_integrity_time ....................................................................................... 98
hc_qrs_free ................................................................................................................................. 99
hc_pstmt_create ...................................................................................................................... 100
hc_pstmt_free ........................................................................................................................... 101
hc_pstmt_set_string .............................................................................................................. 101
hc_pstmt_set_char .................................................................................................................. 102
hc_pstmt_set_double .............................................................................................................. 103
hc_pstmt_set_long .................................................................................................................. 104
hc_pstmt_set_date .................................................................................................................. 105
hc_pstmt_set_time .................................................................................................................. 106
hc_pstmt_set_timestamp ........................................................................................................ 107
hc_pstmt_set_binary .............................................................................................................. 108
hc_pstmt_query_ez .................................................................................................................. 109
Querying With a Prepared Statement ............................................................................................. 110
Deleting Records ........................................................................................................................ 111
hc_delete_ez ............................................................................................................................. 111
Translating Error and Type Codes .......................................................................................... 112
hc_decode_hcerr ...................................................................................................................... 112
hc_decode_hc_type .................................................................................................................. 113
4 Sun StorageTek 5800SystemQuery Language ............................................................................ 115
Interfaces ............................................................................................................................................ 115
Operation ........................................................................................................................................... 116
Contents
SunStorageTek 5800SystemClientAPIReferenceManual • June 20086