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

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

#include <gpudb/protocol/create_trigger_by_range.h>

Public Member Functions

 CreateTriggerByRangeResponse ()
 Constructs a CreateTriggerByRangeResponse object with default parameter values. More...
 

Public Attributes

std::string triggerId
 
std::map< std::string,
std::string > 
info
 

Detailed Description

A set of output parameters for const.

Sets up a simple range trigger for a column_name for one or more tables. Once the trigger has been activated, any record added to the listed tables(s) via const with the chosen column_name's value falling within the specified range will trip the trigger. All such records will be queued at the trigger port (by default '9001' but able to be retrieved via const) for any listening client to collect. Active triggers can be cancelled by using the const endpoint or by clearing all relevant tables.

The output returns the trigger handle as well as indicating success or failure of the trigger activation.

Definition at line 170 of file create_trigger_by_range.h.

Constructor & Destructor Documentation

gpudb::CreateTriggerByRangeResponse::CreateTriggerByRangeResponse ( )
inline

Constructs a CreateTriggerByRangeResponse object with default parameter values.

Definition at line 177 of file create_trigger_by_range.h.

Member Data Documentation

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

Definition at line 184 of file create_trigger_by_range.h.

std::string gpudb::CreateTriggerByRangeResponse::triggerId

Definition at line 183 of file create_trigger_by_range.h.


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