ObjectIdentifier”on page 29
QueryResultSet”on page 30
SystemRecord”on page 30
NameValueRecord”on page 30
Formore information on using these classes, see “Basic Concepts” on page 28.
NameValueObjectArchive
TheNameValueObjectArchive class is the main entry point into the 5800 system. Each instance
ofNameValueObjectArchive provides access to a specic 5800 system server, functioning as a
proxyobject on which operations can be performed. Multiple simultaneous operations can be
accomplishedin separate threads on the same NameValueObjectArchive instance.
Communicationwith the 5800 system server is entirely by means of HTTP requests. A pool of
HTTPconnections is maintained for eciency.
ANameValueObjectArchiveinstance enables you to store, retrieve, query and delete object
dataand associated metadata records. Metadata is associated with an object in a set of
name-valuepairs (see NameValueRecord” on page 30). Metadata records can be used to
associateapplication-specic information with the raw data, such as name, mime type, or purge
date.Metadata records consist of structured data that can be queried. Object data is opaque to
the5800 system.
ANameValueObjectArchiveinstance always ensures that a metadata record is created on the
5800system server for each newly stored object, even if no metadata is provided with the store.
Thisenables a model of programming where every stored data object is accessed by name-value
metadatarecords (for example, for examining results from queries or performing delete
operations).Object data is never deleted directly; it is deleted when its last referencing metadata
recordis deleted.
Foradditional information, see NameValueObjectArchive Application Access” on page 30.
NameValueSchema
Aninstance of NameValueSchema represents information about the name-value metadata that
the5800 system system uses to index data. This instance can be used to enumerate the elds
availablein the schema as attributes. Each attribute has a name and a type.
Seethe Sun StorageTek 5800 System Administrator’sGuide for information on how to dene
attributes.

ObjectIdentifier

Instancesof ObjectIdentifier uniquely represent objects in a 5800 system store. The 5800
systemcreates these instances when objects are stored and are returned to the client as part of
thestore result.ObjectIdentifier instances can be stored outside of the 5800 system and used
JavaAPI
Chapter2 • Sun StorageTek 5800 System Java Client API 29