beautypg.com

Queryresultset, Next, Synopsis – Sun Microsystems Sun StorageTek 5800 User Manual

Page 37: Description, Getobjectidentifier, Isquerycomplete

background image

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

.

Java API

Chapter 2 • Sun StorageTek 5800 System Java Client API

37