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

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

#include <gpudb/protocol/repartition_graph.h>

Public Member Functions

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

Public Attributes

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

Detailed Description

A set of input parameters for const.

Rebalances an existing partitioned graph.

IMPORTANT: It's highly recommended that you review the Network Graphs & Solvers concepts documentation, the Graph REST Tutorial, and/or some graph examples before using this endpoint.

Definition at line 28 of file repartition_graph.h.

Constructor & Destructor Documentation

gpudb::RepartitionGraphRequest::RepartitionGraphRequest ( )
inline

Constructs a RepartitionGraphRequest object with default parameter values.

Definition at line 35 of file repartition_graph.h.

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

Constructs a RepartitionGraphRequest object with the specified parameters.

Parameters
[in]graphName_Name of the graph resource to rebalance.
[in]options_Optional parameters.
  • gpudb::repartition_graph_new_graph_name: If a non-empty value is specified, the original graph will be kept (non-default behaviour) and a new balanced graph will be created under this given name. When the value is empty (default), the generated 'balanced' graph will replace the original 'unbalanced' graph under the same graph name. The default value is ''.
  • gpudb::repartition_graph_source_node: The distributed shortest path solve is run from this source node to all the nodes in the graph to create balaced partitions using the iso-distance levels of the solution. The source node is selected by the rebalance algorithm automatically (default case when the value is an empty string). Otherwise, the user specified node is used as the source. The default value is ''.
  • gpudb::repartition_graph_sql_request_avro_json: The default value is ''.

Definition at line 78 of file repartition_graph.h.

Member Data Documentation

std::string gpudb::RepartitionGraphRequest::graphName

Definition at line 84 of file repartition_graph.h.

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

Definition at line 85 of file repartition_graph.h.


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