beautypg.com

Namevalueobjectarchive, Synopsis, Description – Sun Microsystems Sun StorageTek 5800 User Manual

Page 31: Delete, Storeobject

background image

“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

NameValueObjectArchive

Initializes a 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

The NameValueObjectArchive is instantiated by supplying the address of the 5800 system
cluster in the constructor. The resulting data object can then be used to interact with that
cluster.

delete

Deletes the metadata record.

Synopsis

public void

delete(ObjectIdentifier identifier)

throws ArchiveException, java.io.IOException

Description

Takes a NameValueRecord OID.

Deletes the metadata record. If it is the last metadata record referencing the underlying object
data, the underlying object data will also be deleted.

storeObject

Uploads a new data object with an associated name-value metadata record.

Java API

Chapter 2 • Sun StorageTek 5800 System Java Client API

31