GPUdb C++ API  Version 5.2.0.0
gpudb::CreateTriggerByRangeResponse Struct Reference

A set of output parameters for createTriggerByRange(const CreateTriggerByRangeRequest&) 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
 

Detailed Description

A set of output parameters for createTriggerByRange(const CreateTriggerByRangeRequest&) 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 insertRecordsRaw(const RawInsertRecordsRequest&) const with the chosen column_name's value falling within the specified range will trip the trigger. All such records will be queued at GPUdb's trigger port-by default '9001' but can also be obtained via showSystemStatus(const ShowSystemStatusRequest&) const-for any listening client to collect. Active triggers can be cancelled by using the clearTrigger(const ClearTriggerRequest&) 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 169 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 176 of file create_trigger_by_range.h.

Member Data Documentation

std::string gpudb::CreateTriggerByRangeResponse::triggerId

Definition at line 181 of file create_trigger_by_range.h.


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