GPUdb C++ API
Version 7.1.10.0
|
A set of input parameters for const. More...
#include <gpudb/protocol/create_trigger_by_range.h>
Public Member Functions | |
CreateTriggerByRangeRequest () | |
Constructs a CreateTriggerByRangeRequest object with default parameter values. More... | |
CreateTriggerByRangeRequest (const std::string &requestId_, const std::vector< std::string > &tableNames_, const std::string &columnName_, const double min_, const double max_, const std::map< std::string, std::string > &options_) | |
Constructs a CreateTriggerByRangeRequest object with the specified parameters. More... | |
Public Attributes | |
std::string | requestId |
std::vector< std::string > | tableNames |
std::string | columnName |
double | min |
double | max |
std::map< std::string, std::string > | options |
A set of input 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 36 of file create_trigger_by_range.h.
|
inline |
Constructs a CreateTriggerByRangeRequest object with default parameter values.
Definition at line 43 of file create_trigger_by_range.h.
|
inline |
Constructs a CreateTriggerByRangeRequest object with the specified parameters.
[in] | requestId_ | User-created ID for the trigger. The ID can be alphanumeric, contain symbols, and must contain at least one character. |
[in] | tableNames_ | Tables on which the trigger will be active, each in [schema_name.]table_name format, using standard name resolution rules. |
[in] | columnName_ | Name of a numeric column_name on which the trigger is activated. |
[in] | min_ | The lower bound (inclusive) for the trigger range. |
[in] | max_ | The upper bound (inclusive) for the trigger range. |
[in] | options_ | Optional parameters. |
Definition at line 72 of file create_trigger_by_range.h.
std::string gpudb::CreateTriggerByRangeRequest::columnName |
Definition at line 84 of file create_trigger_by_range.h.
double gpudb::CreateTriggerByRangeRequest::max |
Definition at line 86 of file create_trigger_by_range.h.
double gpudb::CreateTriggerByRangeRequest::min |
Definition at line 85 of file create_trigger_by_range.h.
std::map<std::string, std::string> gpudb::CreateTriggerByRangeRequest::options |
Definition at line 87 of file create_trigger_by_range.h.
std::string gpudb::CreateTriggerByRangeRequest::requestId |
Definition at line 82 of file create_trigger_by_range.h.
std::vector<std::string> gpudb::CreateTriggerByRangeRequest::tableNames |
Definition at line 83 of file create_trigger_by_range.h.