Synopsis
public NameValueSchema getSchema()
throws ArchiveException, java.io.IOException
Description
Returnsthe runtime conguration of the name-value object archive as a NameValueSchema
instance.
query
Returnsa ResultSet of SystemRecord instances containing MetadataRecord OIDs.
Synopsis
public QueryResultSet
query(java.lang.String query,int resultsPerFetch)
throws ArchiveException, java.io.IOException
Description
Takesa where clause and returns a QueryResultSet of SystemRecord instances containing
MetadataRecordOIDs.
Thequery parameter is a where clause in the 5800 system query syntax, which is a subset of SQL.
Returnsa QueryResultSet. The results are stepped through by calling the next method and
usingthe typed getXXX accessor methods.
Note– For more information on the 5800 system query language, refer to Chapter 4, “Sun
StorageTek5800 System Query Language.”
query(with selectKeys)
Returnsa ResultSet of NameValueRecord instances containing the selected values.
Synopsis
public QueryResultSet
query(java.lang.String query, java.lang.String[] selectKeys,int maxResults)
throws ArchiveException, java.io.IOException
JavaAPI
SunStorageTek5800 System Client API Reference Manual • June 200834