GPUdb C++ API  Version 6.2.0.3
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 the trigger port (by default '9001' but able to be retrieved 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 170 of file create_trigger_by_range.h.

Constructor & Destructor Documentation

◆ CreateTriggerByRangeResponse()

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

◆ triggerId

std::string gpudb::CreateTriggerByRangeResponse::triggerId

Definition at line 182 of file create_trigger_by_range.h.


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