Hi Liviu,
Liviu Joita wrote:
> I have the following scenario: I store an object into the Honeycomb and
> retrieve its OID and store it externally for future reference. I want
> now to retrieve the object back from the Honeycomb using the OID I
> stored to the external repository. Is it possible to check (How do I
> check) that the OID actually exist into the Honeycomb before using it to
> retrieve the object?
The simplest way is to do a query. You can essentially check that that
object id exists and then decide what to do with it. Something like:
system.object_id is <OID>
I guess the bigger question is why you would do this? If you've stored
an object in Honeycomb it's guaranteed to be there. If you have many
Honeycomb devices and you aren't sure which one to ask it for then maybe
you want to store a little more information with the OID (although a
component of the OID is also CellID).
peter
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss