GPUdb C++ API  Version 7.2.2.4
gpudb::ShowGraphResponse Struct Reference

A set of results returned by GPUdb::showGraph. More...

#include <gpudb/protocol/show_graph.h>

Public Member Functions

 ShowGraphResponse ()
 Constructs a ShowGraphResponse object with default parameters. More...
 

Public Attributes

bool result
 Indicates a success. More...
 
std::vector< int32_t > load
 A percentage approximating the current computational load on the server. More...
 
std::vector< int64_t > memory
 Available memory. More...
 
std::vector< std::string > graphNames
 Name(s) of the graph(s). More...
 
std::vector< int32_t > graphServerIds
 Id(s) of the graph(s). More...
 
std::vector< std::string > graphOwnerUserNames
 Owner of the graph(s) and associated solution table(s). More...
 
std::vector< std::string > graphOwnerResourceGroups
 Owner of the resource groups(s) of the graph(s). More...
 
std::vector< bool > directed
 Whether or not the edges of the graph have directions (bi-directional edges can still exist in directed graphs). More...
 
std::vector< int64_t > numNodes
 Total number of nodes in the graph. More...
 
std::vector< int64_t > numEdges
 Total number of edges in the graph. More...
 
std::vector< int64_t > numBytes
 Memory this graph uses in bytes. More...
 
std::vector< int64_t > resourceCapacity
 Memory this graph uses in bytes. More...
 
std::vector< bool > isPersisted
 Shows whether or not the graph is persisted (saved and loaded on launch). More...
 
std::vector< bool > isPartitioned
 Indicates if the graph data is distributed across all available servers. More...
 
std::vector< bool > isSyncDb
 Shows whether or not the graph is linked to the original tables that created it, and will potentially be re-created instead loaded from persist on launch. More...
 
std::vector< bool > hasInsertTableMonitor
 Shows whether or not the graph has an insert table monitor attached to it. More...
 
std::vector< std::string > originalRequest
 The original client request used to create the graph (before any expression evaluation or separator processing). More...
 
std::map< std::string, std::string > info
 Additional information. More...
 

Detailed Description

A set of results returned by GPUdb::showGraph.

Definition at line 149 of file show_graph.h.

Constructor & Destructor Documentation

◆ ShowGraphResponse()

gpudb::ShowGraphResponse::ShowGraphResponse ( )
inline

Constructs a ShowGraphResponse object with default parameters.

Definition at line 154 of file show_graph.h.

Member Data Documentation

◆ directed

std::vector<bool> gpudb::ShowGraphResponse::directed

Whether or not the edges of the graph have directions (bi-directional edges can still exist in directed graphs).

Consult Directed Graphs for more details.

Definition at line 220 of file show_graph.h.

◆ graphNames

std::vector<std::string> gpudb::ShowGraphResponse::graphNames

Name(s) of the graph(s).

Definition at line 196 of file show_graph.h.

◆ graphOwnerResourceGroups

std::vector<std::string> gpudb::ShowGraphResponse::graphOwnerResourceGroups

Owner of the resource groups(s) of the graph(s).

Definition at line 211 of file show_graph.h.

◆ graphOwnerUserNames

std::vector<std::string> gpudb::ShowGraphResponse::graphOwnerUserNames

Owner of the graph(s) and associated solution table(s).

Definition at line 206 of file show_graph.h.

◆ graphServerIds

std::vector<int32_t> gpudb::ShowGraphResponse::graphServerIds

Id(s) of the graph(s).

Definition at line 201 of file show_graph.h.

◆ hasInsertTableMonitor

std::vector<bool> gpudb::ShowGraphResponse::hasInsertTableMonitor

Shows whether or not the graph has an insert table monitor attached to it.

Definition at line 265 of file show_graph.h.

◆ info

std::map<std::string, std::string> gpudb::ShowGraphResponse::info

Additional information.

Definition at line 276 of file show_graph.h.

◆ isPartitioned

std::vector<bool> gpudb::ShowGraphResponse::isPartitioned

Indicates if the graph data is distributed across all available servers.

Definition at line 252 of file show_graph.h.

◆ isPersisted

std::vector<bool> gpudb::ShowGraphResponse::isPersisted

Shows whether or not the graph is persisted (saved and loaded on launch).

Definition at line 246 of file show_graph.h.

◆ isSyncDb

std::vector<bool> gpudb::ShowGraphResponse::isSyncDb

Shows whether or not the graph is linked to the original tables that created it, and will potentially be re-created instead loaded from persist on launch.

Definition at line 259 of file show_graph.h.

◆ load

std::vector<int32_t> gpudb::ShowGraphResponse::load

A percentage approximating the current computational load on the server.

Definition at line 186 of file show_graph.h.

◆ memory

std::vector<int64_t> gpudb::ShowGraphResponse::memory

Available memory.

Definition at line 191 of file show_graph.h.

◆ numBytes

std::vector<int64_t> gpudb::ShowGraphResponse::numBytes

Memory this graph uses in bytes.

Definition at line 235 of file show_graph.h.

◆ numEdges

std::vector<int64_t> gpudb::ShowGraphResponse::numEdges

Total number of edges in the graph.

Definition at line 230 of file show_graph.h.

◆ numNodes

std::vector<int64_t> gpudb::ShowGraphResponse::numNodes

Total number of nodes in the graph.

Definition at line 225 of file show_graph.h.

◆ originalRequest

std::vector<std::string> gpudb::ShowGraphResponse::originalRequest

The original client request used to create the graph (before any expression evaluation or separator processing).

Definition at line 271 of file show_graph.h.

◆ resourceCapacity

std::vector<int64_t> gpudb::ShowGraphResponse::resourceCapacity

Memory this graph uses in bytes.

Definition at line 240 of file show_graph.h.

◆ result

bool gpudb::ShowGraphResponse::result

Indicates a success.

This call will fail if the graph specified in the request does not exist.

Definition at line 180 of file show_graph.h.


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