GPUdb C++ API  Version 6.2.0.3
gpudb::AdminOfflineRequest Struct Reference

A set of input parameters for adminOffline(const AdminOfflineRequest&) const. More...

#include <gpudb/protocol/admin_offline.h>

Public Member Functions

 AdminOfflineRequest ()
 Constructs an AdminOfflineRequest object with default parameter values. More...
 
 AdminOfflineRequest (const bool offline_, const std::map< std::string, std::string > &options_)
 Constructs an AdminOfflineRequest object with the specified parameters. More...
 

Public Attributes

bool offline
 
std::map< std::string, std::string > options
 

Detailed Description

A set of input parameters for adminOffline(const AdminOfflineRequest&) const.

Take the system offline. When the system is offline, no user operations can be performed with the exception of a system shutdown.

Definition at line 19 of file admin_offline.h.

Constructor & Destructor Documentation

◆ AdminOfflineRequest() [1/2]

gpudb::AdminOfflineRequest::AdminOfflineRequest ( )
inline

Constructs an AdminOfflineRequest object with default parameter values.

Definition at line 26 of file admin_offline.h.

◆ AdminOfflineRequest() [2/2]

gpudb::AdminOfflineRequest::AdminOfflineRequest ( const bool  offline_,
const std::map< std::string, std::string > &  options_ 
)
inline

Constructs an AdminOfflineRequest object with the specified parameters.

Parameters
[in]offline_Set to true if desired state is offline.
[in]options_Optional parameters.

Definition at line 53 of file admin_offline.h.

Member Data Documentation

◆ offline

bool gpudb::AdminOfflineRequest::offline

Definition at line 59 of file admin_offline.h.

◆ options

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

Definition at line 60 of file admin_offline.h.


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