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. More...
 
std::string datasourceName
 Data source through which the backup is accessible. More...
 
std::map< std::string, std::string > options
 Optional parameters. More...
 

Detailed Description

A set of parameters for GPUdb::showBackup.

Shows information about one or more backups accessible via the data source specified by datasourceName.

Definition at line 21 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 26 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. An empty string or '*' will show all existing backups. Any text followed by a '*' will show backups whose name starts with that text. The default value is ''.
[in]datasourceName_Data source through which the backup is accessible.
[in]options_Optional parameters. The default value is an empty map.

Definition at line 92 of file show_backup.h.

Member Data Documentation

◆ backupName

std::string gpudb::ShowBackupRequest::backupName

Name of the backup.

An empty string or '*' will show all existing backups. Any text followed by a '*' will show backups whose name starts with that text. The default value is ''.

Definition at line 104 of file show_backup.h.

◆ datasourceName

std::string gpudb::ShowBackupRequest::datasourceName

Data source through which the backup is accessible.

Definition at line 109 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 148 of file show_backup.h.


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