■“query(with PreparedStatement)” on page 35
■“query(with PreparedStatement and selectKeys)” on page 35
■“PreparedStatement”on page 36
■“QueryResultSet”on page 37
■“getObjectIdentifier”on page 37
■“isQueryComplete”on page 37
■“getQueryIntegrityTime”on page 38
■“QueryIntegrityTime”on page 38
NameValueObjectArchiveInitializesa new NameValueObjectArchive with the address or host name of a 5800 system
server,using the provided port.
Synopsis
public NameValueObjectArchive(java.lang.String address)
throws ArchiveException, java.io.IOException
public NameValueObjectArchive(String address, int port)
throws ArchiveException, IOException
Description
TheNameValueObjectArchive is instantiated by supplying the address of the 5800 system
clusterin the constructor. The resulting data object can then be used to interact with that
cluster.
deleteDeletesthe metadata record.
Synopsis
public void
delete(ObjectIdentifier identifier)
throws ArchiveException, java.io.IOException
Description
Takesa NameValueRecord OID.
Deletesthe metadata record. If it is the last metadata record referencing the underlying object
data,the underlying object data will also be deleted.
storeObjectUploadsa new data object with an associated name-value metadata record.
JavaAPI
Chapter2 • Sun StorageTek 5800 System Java Client API 31