stmt.bindParameter(date_value,1);
QueryResultSet qrs = archive.query(stmt);
QueryResultSet
TheQueryResultSet classis used to page through OIDs and associated metadata returned by
NameValueObjectArchive.query.See the javadoc for the getXXX methodsfor getting typed
metadata.
next
Setsthe QueryResultSet topoint at the next record.
Synopsis
boolean next()
Description
Setsthe QueryResultSet topoint at the next record. Returns true if there is a next record, false
ifnot.
getObjectIdentifier
Getsthe ObjectIdentifier ofthe current metadata record.
Synopsis
ObjectIdentifier getObjectIdentifier()
Description
Getsthe ObjectIdentifier ofthe current metadata record.
isQueryComplete
Returnswhether the set of results constitutes a complete set
Synopsis
boolean isQueryComplete()
Description
Returnswhether the set of results constitutes a complete set. See “The 5800 System Query
IntegrityModel” on page 21.
JavaAPI
Chapter2 SunStorageTek 5800 System Java Client API 37