我要评分
获取效率
正确性
完整性
易理解

releaseBucketMap

Releases the result of offline calculations on the server to release resources.

void releaseBucketMap(
     DG_BucketMap **bucketMap
)

Parameters

Table 1 Description

Parameter

Description

Value Range

Input/Output

bucketMap

Bucketing result of the offline calculations on the server

/

Input

Return Values

None

Error Codes

None

Dependency

None

Example

#include  "data_guard_mpc.h" 
pirOpts.releaseBucketMap(&bucketMap);

This API is used to release the offline calculation result. You need to call this API to release the bucketing result before stopping the PIR query service. Before restarting the query service, you need to call offlineCalculate first.