virtual qBool GetMeta( ProtocolCallContext * pContext, const qVector< DataStoreGetMetaParam > & params, qVector< DataStoreMetaInfo > * pMetaInfos, qVector< qResult > * pResults = NULL );
Name | Description | |
---|---|---|
in | pContext |
Call information. |
in | params |
Detailed information. |
out | pMetaInfos |
Obtained result. |
out | pResults |
Whether the call was successful. (Can be omitted.) |
Value | Description |
---|---|
true |
RMC call initialization succeeded. |
false |
Failure. |
Batch-gets metadata from storage.
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