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

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

#include <gpudb/protocol/show_triggers.h>

Public Member Functions

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

Public Attributes

std::map< std::string, std::map< std::string, std::string > > triggerMap
 This dictionary contains (key, value) pairs of (trigger ID, information map/dictionary) where the key is a Unicode string representing a Trigger ID. More...
 
std::map< std::string, std::string > info
 Additional information. More...
 

Detailed Description

A set of results returned by GPUdb::showTriggers.

Definition at line 110 of file show_triggers.h.

Constructor & Destructor Documentation

◆ ShowTriggersResponse()

gpudb::ShowTriggersResponse::ShowTriggersResponse ( )
inline

Constructs a ShowTriggersResponse object with default parameters.

Definition at line 115 of file show_triggers.h.

Member Data Documentation

◆ info

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

Additional information.

Definition at line 138 of file show_triggers.h.

◆ triggerMap

std::map<std::string, std::map<std::string, std::string> > gpudb::ShowTriggersResponse::triggerMap

This dictionary contains (key, value) pairs of (trigger ID, information map/dictionary) where the key is a Unicode string representing a Trigger ID.

The value is another embedded dictionary containing (key, value) pairs where the keys consist of 'table_name', 'type' and the parameter names relating to the trigger type, e.g. nai, min, max. The values are unicode strings (numeric values are also converted to strings) representing the value of the respective parameter. If a trigger is associated with multiple tables, then the string value for table_name contains a comma separated list of table names.

Definition at line 133 of file show_triggers.h.


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