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

A set of parameters for GPUdb::showProcStatus. More...

#include <gpudb/protocol/show_proc_status.h>

Public Member Functions

 ShowProcStatusRequest ()
 Constructs a ShowProcStatusRequest object with default parameters. More...
 
 ShowProcStatusRequest (const std::string &runId_, const std::map< std::string, std::string > &options_)
 Constructs a ShowProcStatusRequest object with the specified parameters. More...
 

Public Attributes

std::string runId
 The run ID of a specific proc instance for which the status will be returned. More...
 
std::map< std::string, std::string > options
 Optional parameters. More...
 

Detailed Description

A set of parameters for GPUdb::showProcStatus.

Shows the statuses of running or completed proc instances. Results are grouped by run ID (as returned from GPUdb::executeProc) and data segment ID (each invocation of the proc command on a data segment is assigned a data segment ID).

Definition at line 22 of file show_proc_status.h.

Constructor & Destructor Documentation

◆ ShowProcStatusRequest() [1/2]

gpudb::ShowProcStatusRequest::ShowProcStatusRequest ( )
inline

Constructs a ShowProcStatusRequest object with default parameters.

Definition at line 27 of file show_proc_status.h.

◆ ShowProcStatusRequest() [2/2]

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

Constructs a ShowProcStatusRequest object with the specified parameters.

Parameters
[in]runId_The run ID of a specific proc instance for which the status will be returned. If a proc with a matching run ID is not found, the response will be empty. If not specified, the statuses of all executed proc instances will be returned. The default value is ''.
[in]options_Optional parameters. The default value is an empty map.

Definition at line 83 of file show_proc_status.h.

Member Data Documentation

◆ options

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

Optional parameters.

The default value is an empty map.

Definition at line 128 of file show_proc_status.h.

◆ runId

std::string gpudb::ShowProcStatusRequest::runId

The run ID of a specific proc instance for which the status will be returned.

If a proc with a matching run ID is not found, the response will be empty. If not specified, the statuses of all executed proc instances will be returned. The default value is ''.

Definition at line 95 of file show_proc_status.h.


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