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

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

#include <gpudb/protocol/show_backup.h>

Public Member Functions

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

Public Attributes

std::string backupName
 Name of the backup object. 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::showBackup.

Shows information about a backup Returns detailed information about one or more backup instances.

Definition at line 18 of file show_backup.h.

Constructor & Destructor Documentation

◆ ShowBackupRequest() [1/2]

gpudb::ShowBackupRequest::ShowBackupRequest ( )
inline

Constructs a ShowBackupRequest object with default parameters.

Definition at line 23 of file show_backup.h.

◆ ShowBackupRequest() [2/2]

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

Constructs a ShowBackupRequest object with the specified parameters.

Parameters
[in]backupName_Name of the backup object. An empty string or '*' will return all existing backups. The default value is ''.
[in]datasourceName_Datasource where backup is located.
[in]options_Optional parameters. The default value is an empty map.

Definition at line 86 of file show_backup.h.

Member Data Documentation

◆ backupName

std::string gpudb::ShowBackupRequest::backupName

Name of the backup object.

An empty string or '*' will return all existing backups. The default value is ''.

Definition at line 97 of file show_backup.h.

◆ datasourceName

std::string gpudb::ShowBackupRequest::datasourceName

Datasource where backup is located.

Definition at line 102 of file show_backup.h.

◆ options

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

Optional parameters.

The default value is an empty map.

Definition at line 141 of file show_backup.h.


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