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

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

#include <gpudb/protocol/admin_rebalance.h>

Public Member Functions

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

Public Attributes

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

Detailed Description

A set of input parameters for const.

Rebalance the cluster so that all the nodes contain approximately an equal number of records. The rebalance will also cause the shards to be equally distributed (as much as possible) across all the ranks.

This endpoint may take a long time to run, depending on the amount of data in the system. The API call may time out if run directly. It is recommended to run this endpoint asynchronously via const.

Definition at line 25 of file admin_rebalance.h.

Constructor & Destructor Documentation

gpudb::AdminRebalanceRequest::AdminRebalanceRequest ( )
inline

Constructs an AdminRebalanceRequest object with default parameter values.

Definition at line 32 of file admin_rebalance.h.

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

Constructs an AdminRebalanceRequest object with the specified parameters.

Parameters
[in]options_Optional parameters.

Definition at line 138 of file admin_rebalance.h.

Member Data Documentation

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

Definition at line 143 of file admin_rebalance.h.


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