GPUdb C++ API  Version 7.2.3.0
gpudb::RestoreBackupResponse Struct Reference

A set of results returned by GPUdb::restoreBackup. More...

#include <gpudb/protocol/restore_backup.h>

Public Member Functions

 RestoreBackupResponse ()
 Constructs a RestoreBackupResponse object with default parameters. More...
 

Public Attributes

std::string backupName
 Value of backupName. More...
 
int64_t backupId
 ID of the snapshot that was restored. More...
 
int64_t restoredBytes
 Total size of data restored from backup. More...
 
int64_t restoredFiles
 Total number of files restored from backup. More...
 
int64_t restoredRecords
 Total number of records restored from backup. More...
 
std::map< std::string, std::string > restoredObjects
 Database objects that were successfully restored and their associated types. More...
 
std::map< std::string, std::string > renamedObjects
 Original and new names of database objects that were successfully restored and their associated types. More...
 
std::map< std::string, std::string > failedObjects
 Database objects that failed to be restored and their associated types. More...
 
std::map< std::string, std::string > info
 Additional information. More...
 

Detailed Description

A set of results returned by GPUdb::restoreBackup.

Definition at line 536 of file restore_backup.h.

Constructor & Destructor Documentation

◆ RestoreBackupResponse()

gpudb::RestoreBackupResponse::RestoreBackupResponse ( )
inline

Constructs a RestoreBackupResponse object with default parameters.

Definition at line 541 of file restore_backup.h.

Member Data Documentation

◆ backupId

int64_t gpudb::RestoreBackupResponse::backupId

ID of the snapshot that was restored.

Definition at line 562 of file restore_backup.h.

◆ backupName

std::string gpudb::RestoreBackupResponse::backupName

Value of backupName.

Definition at line 557 of file restore_backup.h.

◆ failedObjects

std::map<std::string, std::string> gpudb::RestoreBackupResponse::failedObjects

Database objects that failed to be restored and their associated types.

Definition at line 595 of file restore_backup.h.

◆ info

std::map<std::string, std::string> gpudb::RestoreBackupResponse::info

Additional information.

Definition at line 600 of file restore_backup.h.

◆ renamedObjects

std::map<std::string, std::string> gpudb::RestoreBackupResponse::renamedObjects

Original and new names of database objects that were successfully restored and their associated types.

Definition at line 589 of file restore_backup.h.

◆ restoredBytes

int64_t gpudb::RestoreBackupResponse::restoredBytes

Total size of data restored from backup.

Definition at line 567 of file restore_backup.h.

◆ restoredFiles

int64_t gpudb::RestoreBackupResponse::restoredFiles

Total number of files restored from backup.

Definition at line 572 of file restore_backup.h.

◆ restoredObjects

std::map<std::string, std::string> gpudb::RestoreBackupResponse::restoredObjects

Database objects that were successfully restored and their associated types.

Definition at line 583 of file restore_backup.h.

◆ restoredRecords

int64_t gpudb::RestoreBackupResponse::restoredRecords

Total number of records restored from backup.

Definition at line 577 of file restore_backup.h.


The documentation for this struct was generated from the following file: