checkIndexedreturns an int valuethat indicates if the metadata for this object has been
insertedinto the query engine. The value is -1 ifthe metadata was already inserted before this
operationwas called, 0if the metadata has still not been inserted, or 1if the metadata was just
nowinserted.
retrieveObject
Writesall of the data for the specied object into the provided channel, returning the amount of
dataactually retrieved.
Synopsis
public long retrieveObject(ObjectIdentifier oid,
WritableByteChannel dataChannel)
throws ArchiveException, java.io.IOException
public long retrieveObject(ObjectIdentifier oid,
java.nio.channels.WritableByteChannel
dataChannel,long firstByte,
long lastByte)
throws ArchiveException, java.io.IOException
Description
Takesan OID and downloads the data object into a supplied WritableByteChannel.
retrieveMetadata
Returnsa NameValueRecord instancecontaining the system and name-value metadata for the
metadatarecord identied by the OID.
Synopsis
public NameValueRecord
retrieveMetadata(ObjectIdentifier oid)
throws ArchiveException, java.io.IOException
Description
Returnsa NameValueRecord instancecontaining the system and name-value metadata for the
metadatarecord identied by the OID.
getSchema
Returnsthe runtime conguration of the name-value object archive as a NameValueSchema
instance.
JavaAPI
Chapter2 SunStorageTek 5800 System Java Client API 33