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

A set of parameters for GPUdb::restoreBackup. More...

#include <gpudb/protocol/restore_backup.h>

Public Member Functions

 RestoreBackupRequest ()
 Constructs a RestoreBackupRequest object with default parameters. More...
 
 RestoreBackupRequest (const std::string &backupName_, const std::map< std::string, std::string > &restoreObjectsMap_, const std::string &datasourceName_, const std::map< std::string, std::string > &options_)
 Constructs a RestoreBackupRequest object with the specified parameters. More...
 

Public Attributes

std::string backupName
 Name of the backup object, which must refer to a currently existing backup. More...
 
std::map< std::string, std::string > restoreObjectsMap
 Map of objects to be restored from the backup. More...
 
std::string datasourceName
 Datasource where backup is located. More...
 
std::map< std::string, std::string > options
 Optional parameters. More...
 

Detailed Description

A set of parameters for GPUdb::restoreBackup.

Restores objects from a backup instance. Response from a backup restoration operation.

Definition at line 19 of file restore_backup.h.

Constructor & Destructor Documentation

◆ RestoreBackupRequest() [1/2]

gpudb::RestoreBackupRequest::RestoreBackupRequest ( )
inline

Constructs a RestoreBackupRequest object with default parameters.

Definition at line 24 of file restore_backup.h.

◆ RestoreBackupRequest() [2/2]

gpudb::RestoreBackupRequest::RestoreBackupRequest ( const std::string &  backupName_,
const std::map< std::string, std::string > &  restoreObjectsMap_,
const std::string &  datasourceName_,
const std::map< std::string, std::string > &  options_ 
)
inline

Constructs a RestoreBackupRequest object with the specified parameters.

Parameters
[in]backupName_Name of the backup object, which must refer to a currently existing backup. The default value is ''.
[in]restoreObjectsMap_Map of objects to be restored from the backup. Error if empty.
[in]datasourceName_Datasource where backup is located.
[in]options_Optional parameters. The default value is an empty map.

Definition at line 216 of file restore_backup.h.

Member Data Documentation

◆ backupName

std::string gpudb::RestoreBackupRequest::backupName

Name of the backup object, which must refer to a currently existing backup.

The default value is ''.

Definition at line 228 of file restore_backup.h.

◆ datasourceName

std::string gpudb::RestoreBackupRequest::datasourceName

Datasource where backup is located.

Definition at line 276 of file restore_backup.h.

◆ options

std::map<std::string, std::string> gpudb::RestoreBackupRequest::options

Optional parameters.

The default value is an empty map.

Definition at line 360 of file restore_backup.h.

◆ restoreObjectsMap

std::map<std::string, std::string> gpudb::RestoreBackupRequest::restoreObjectsMap

Map of objects to be restored from the backup.

Error if empty.

Definition at line 271 of file restore_backup.h.


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