stmt.bindParameter(date_value,1);
QueryResultSet qrs = archive.query(stmt);
QueryResultSet
The QueryResultSet class is used to page through OIDs and associated metadata returned by
NameValueObjectArchive.query. See the javadoc for the getXXX methods for getting typed
metadata.
next
Sets the QueryResultSet to point at the next record.
Synopsis
boolean next()
Description
Sets the QueryResultSet to point at the next record. Returns true if there is a next record, false
if not.
getObjectIdentifier
Gets the ObjectIdentifier of the current metadata record.
Synopsis
ObjectIdentifier getObjectIdentifier()
Description
Gets the ObjectIdentifier of the current metadata record.
isQueryComplete
Returns whether the set of results constitutes a complete set
Synopsis
boolean isQueryComplete()
Description
Returns whether the set of results constitutes a complete set. See “The 5800 System Query
Integrity Model” on page 21
.
JavaAPI
Chapter2 • SunStorageTek 5800SystemJavaClientAPI 37