releaseBucketMap
Releases the result of offline calculations on the server to release resources.
void releaseBucketMap(
DG_BucketMap **bucketMap
)
Parameters
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.
Parent topic: PIR Operator