beautypg.com

Sun Microsystems Sun StorageTek 5800 User Manual

Page 132

background image

OID (Continued)

retrieve metadata for

hc_retrieve_metadata_ez

, 92

retrieve range of data for

hc_range_retrieve_ez

, 93-94

operations

retrying, 26, 40

overview, 16-23

5800 system, 16-17
data model, 17-19
Honeycomb project, 17
metadata model, 19-20
query integrity model, 21-22
query model, 20-21

P

prepared statement

add binary binding to

hc_pstmt_set_binary

, 108

add char binding to

hc_pstmt_set_char

, 102-103

add date binding to

hc_pstmt_set_date

, 105-106

add double precision binding to

hc_pstmt_set_double

, 103-104

add hc_long_t binding to

hc_pstmt_set_long

, 104-105

add string binding to

hc_pstmt_set_string

, 101-102

add time-of-day binding to

hc_pstmt_set_time

, 106

add timestamp binding to

hc_pstmt_set_timestamp

, 107

creating, 100
freeing

hc_pstmt_free

, 101

querying example, 110-113
retrieve OIDs, optionally retrieve name-value record

hc_pstmt_query_ez

, 109-110

Q

queries, 117-118

best practices, 128
determine if complete

hc_qrs_is_query_complete

, 97-98

determine query integrity time

hc_qrs_get_query_integrity_time

, 98-99

dynamic parameters, 118
fetch next OID

hc_qrs_next_ez

, 96-97

integrity model overview, 21-22
literal format, 119
literals, 118-119
literals size, 128
max results per fetch, 128
model overview, 20-21
numeric literals, 118
parameters size, 128
prepared statement query example, 110-113
query with prepared statement

hc_query_ez

, 94-96

release query set results

hc_qrs_free

, 99

string literals, 118
syntax, 118

query language

allowed words in queries, 124
attribute format, 117
dynamic parameters, 118
examples, 123
expression types, 121-123
features not supported, 123-124
forbidden words in queries, 124-125
interfaces, 115
literal format, 119
literals in queries, 118-119
operation, 116
queries, 117-118
reserved words, 121
syntax in queries, 118

query

method, 34, 35

query

size limit, 127-128

QueryResultSet

class, 30

QueryResultSet

method, 37

Index

Sun StorageTek 5800 System Client API Reference Manual • June 2008

132