All 5800 system store operations return a system record, which encapsulates information about the stored object. In particular, the system record contains the OID, which can be used to retrieve the stored object data or metadata.
typedef struct hc_system_record_ { char is_indexed; hc_oid oid; hc_digest_algo digest_algo; hc_digest data_digest; hc_long_t size; hc_long_t creation_time; hc_long_t deleted_time; char shredMode; } hc_system_record_t;
About the fields:
oid — The objectid for this object, equivalent to the system.object_id field.
digest_algo — Always set to "sha1" for this release. Equivalent to the system.object_hash_alg field.
data_digest — An array of bytes that represent the content digest of this object's data. Equivalent to the system.object_hash field.
size — The size of the data in this object, in bytes. Equivalent to the system.object_size field.
creation_time — The object creation time, expressed as number of milliseconds since the epoch. Equivalent to the system.object_ctime field.
deleted_time — The deletion time of this record, if any, as the number of milliseconds since the epoch.
shredMode — Not used in this release.
is_indexed — indicates, after a store_data or store_metadata operation, whether the metadata for the object was successfully inserted into the query engine, and the object is hence available for query. 0 if false, 1 if true.