GPUdb C++ API  Version 7.1.10.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gpudb::AdminAlterHostRequest Struct Reference

A set of input parameters for const. More...

#include <gpudb/protocol/admin_alter_host.h>

Public Member Functions

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

Public Attributes

std::string host
 
std::map< std::string,
std::string > 
options
 

Detailed Description

A set of input parameters for const.

Alter properties on an existing host in the cluster. Currently, the only property that can be altered is a hosts ability to accept failover processes.

Definition at line 20 of file admin_alter_host.h.

Constructor & Destructor Documentation

gpudb::AdminAlterHostRequest::AdminAlterHostRequest ( )
inline

Constructs an AdminAlterHostRequest object with default parameter values.

Definition at line 27 of file admin_alter_host.h.

gpudb::AdminAlterHostRequest::AdminAlterHostRequest ( const std::string &  host_,
const std::map< std::string, std::string > &  options_ 
)
inline

Constructs an AdminAlterHostRequest object with the specified parameters.

Parameters
[in]host_Identifies the host this applies to. Can be the host address, or formatted as 'hostN' where N is the host number as specified in gpudb.conf
[in]options_Optional parameters

Definition at line 56 of file admin_alter_host.h.

Member Data Documentation

std::string gpudb::AdminAlterHostRequest::host

Definition at line 62 of file admin_alter_host.h.

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

Definition at line 63 of file admin_alter_host.h.


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