nn::nex::DataStoreClient::GetMeta Member Function

Syntax

virtual qBool GetMeta(
     ProtocolCallContext * pContext,
     const DataStoreGetMetaParam & param,
     DataStoreMetaInfo * pMetaInfo
);

virtual qBool GetMeta(
     ProtocolCallContext * pContext,
     const qVector< qUnsignedInt64 > & dataIds,
     const DataStoreGetMetaParam & param,
     qVector< DataStoreMetaInfo > * pMetaInfos,
     qVector< qResult > * pResults = NULL
);

virtual qBool GetMeta(
     ProtocolCallContext * pContext,
     const qVector< DataStoreGetMetaParam > & params,
     qVector< DataStoreMetaInfo > * pMetaInfos,
     qVector< qResult > * pResults = NULL
);

Overloaded Member Functions

GetMeta ( ProtocolCallContext *, const DataStoreGetMetaParam &, DataStoreMetaInfo * ) Gets metadata in storage.
GetMeta ( ProtocolCallContext *, const qVector< qUnsignedInt64 > &, const DataStoreGetMetaParam &, qVector< DataStoreMetaInfo > *, qVector< qResult > * ) Batch-gets metadata from storage.
GetMeta ( ProtocolCallContext *, const qVector< DataStoreGetMetaParam > &, qVector< DataStoreMetaInfo > *, qVector< qResult > * ) Batch-gets metadata from storage.

Description of GetMeta ( ProtocolCallContext *, const DataStoreGetMetaParam &, DataStoreMetaInfo * )

If you want to use this function to get tags, ratings information, binary data in the metadata, or principal IDs that have permissions, use the DataStoreGetMetaParam::SetResultOption function to set the information you want to get. The default setting is not to get this information. Only people who have access rights to the data can get the data.

Description of GetMeta ( ProtocolCallContext *, const qVector< qUnsignedInt64 > &, const DataStoreGetMetaParam &, qVector< DataStoreMetaInfo > *, qVector< qResult > * )

If you want to use this function to get tags, ratings information, binary data in the metadata, or principal IDs that have permissions, use the DataStoreGetMetaParam::SetResultOption function to set the information you want to get. The default setting is not to get this information. The function gets the metadata for the data specified with dataIds using the conditions specified in param. However, information specified with the DataStoreGetMetaParamSetDataId or DataStoreGetMetaParam::SetPersistenceTarget function is ignored. Up to 100 sets of metadata can be batch-processed. The result of processing each data ID specified in dataIds is returned to pMetaInfos and pResult in the same order in which they were specified. Results are returned for only the specified number of data sets. Only people who have access rights to the data can get the data. When the specified data is not found or the user does not have access rights, the object contained in pMetaInfos becomes invalid. You can check whether an object is valid or invalid with the DataStoreMetaInfo::IsValid function.

Description of GetMeta ( ProtocolCallContext *, const qVector< DataStoreGetMetaParam > &, qVector< DataStoreMetaInfo > *, qVector< qResult > * )

If you want to use this function to get tags, ratings information, binary data in the metadata, or principal IDs that have permissions, use the DataStoreGetMetaParam::SetResultOption function to set the information you want to get. The default setting is not to get this information. Up to 100 sets of metadata can be batch-processed. For pMetaInfos and pResult, the results of processing the data specified by params are returned in the same order in which they were specified. Results are returned for only the specified number of data sets. Only people who have access rights to the data can get the data. When the specified data is not found or the user does not have access rights, the object contained in pMetaInfos becomes invalid. You can check whether an object is valid or invalid with the DataStoreMetaInfo::IsValid function.


CONFIDENTIAL