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. | |
Public Attributes | |
| std::string | backupName |
| Value of backupName. | |
| int64_t | backupId |
| ID of the snapshot that was restored. | |
| int64_t | restoredBytes |
| Total size of data restored from backup. | |
| int64_t | restoredFiles |
| Total number of files restored from backup. | |
| int64_t | restoredRecords |
| Total number of records restored from backup. | |
| std::map< std::string, std::string > | restoredObjects |
| Database objects that were successfully restored and their associated types. | |
| std::map< std::string, std::string > | renamedObjects |
| Original and new names of database objects that were successfully restored and their associated types. | |
| std::map< std::string, std::string > | failedObjects |
| Database objects that failed to be restored and their associated types. | |
| std::map< std::string, std::string > | info |
| Additional information. | |
Detailed Description
A set of results returned by GPUdb::restoreBackup.
Definition at line 936 of file restore_backup.h.
Constructor & Destructor Documentation
◆ RestoreBackupResponse()
| inline |
Constructs a RestoreBackupResponse object with default parameters.
Definition at line 941 of file restore_backup.h.
Member Data Documentation
◆ backupId
| int64_t gpudb::RestoreBackupResponse::backupId |
ID of the snapshot that was restored.
Definition at line 962 of file restore_backup.h.
◆ backupName
| std::string gpudb::RestoreBackupResponse::backupName |
Value of backupName.
Definition at line 957 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 995 of file restore_backup.h.
◆ info
| std::map<std::string, std::string> gpudb::RestoreBackupResponse::info |
Additional information.
- restore_backup_clean_dropped_objects: If restore_policy is clean or clean_all, the objects the clean dropped before restoring, grouped by type, e.g. ‘table: s.a, s.b; user: u1; schema: s’. When dry_run is true, the objects it would drop. A long list ends with the number of objects left out.
- restore_backup_clean_kept_objects: If restore_policy is clean or clean_all, comma-separated list of objects in the backup that the clean kept on the target, such as the calling user, and that the restore therefore left as they were instead of restoring them, e.g. user ‘u1’, directory ‘~u1’.
The default value is an empty map.
Definition at line 1022 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 989 of file restore_backup.h.
◆ restoredBytes
| int64_t gpudb::RestoreBackupResponse::restoredBytes |
Total size of data restored from backup.
Definition at line 967 of file restore_backup.h.
◆ restoredFiles
| int64_t gpudb::RestoreBackupResponse::restoredFiles |
Total number of files restored from backup.
Definition at line 972 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 983 of file restore_backup.h.
◆ restoredRecords
| int64_t gpudb::RestoreBackupResponse::restoredRecords |
Total number of records restored from backup.
Definition at line 977 of file restore_backup.h.
The documentation for this struct was generated from the following file:
- gpudb/protocol/restore_backup.h