A set of parameters for GPUdb::alterTableMonitor. More…
#include <gpudb/protocol/alter_table_monitor.h>
Public Member Functions | |
| AlterTableMonitorRequest () | |
| Constructs an AlterTableMonitorRequest object with default parameters. | |
| AlterTableMonitorRequest (const std::string &topicId_, const std::map< std::string, std::string > &monitorUpdatesMap_, const std::map< std::string, std::string > &options_) | |
| Constructs an AlterTableMonitorRequest object with the specified parameters. | |
Public Attributes | |
| std::string | topicId |
| The topic ID returned by GPUdb::createTableMonitor. | |
| std::map< std::string, std::string > | monitorUpdatesMap |
| Map containing the properties of the table monitor to be updated. | |
| std::map< std::string, std::string > | options |
| Optional parameters. | |
Detailed Description
A set of parameters for GPUdb::alterTableMonitor.
Alters a table monitor previously created with GPUdb::createTableMonitor.
Definition at line 20 of file alter_table_monitor.h.
Constructor & Destructor Documentation
◆ AlterTableMonitorRequest() [1/2]
| inline |
Constructs an AlterTableMonitorRequest object with default parameters.
Definition at line 26 of file alter_table_monitor.h.
◆ AlterTableMonitorRequest() [2/2]
| inline |
Constructs an AlterTableMonitorRequest object with the specified parameters.
| [in] | topicId_ | The topic ID returned by GPUdb::createTableMonitor. |
| [in] | monitorUpdatesMap_ | Map containing the properties of the table monitor to be updated. Error if empty.
|
| [in] | options_ | Optional parameters. The default value is an empty map. |
Definition at line 86 of file alter_table_monitor.h.
Member Data Documentation
◆ monitorUpdatesMap
| std::map<std::string, std::string> gpudb::AlterTableMonitorRequest::monitorUpdatesMap |
Map containing the properties of the table monitor to be updated.
Error if empty.
- alter_table_monitor_schema_name: Updates the schema name. If schema_name doesn’t exist, an error will be thrown. If schema_name is empty, then the user’s default schema will be used.
- alter_table_monitor_max_consecutive_failures: Updates the maximum number of consecutive failures before suspending the stream. A value of ‘-1’ to disables auto-suspend. This value is by rank and not overall.
- alter_table_monitor_notifications: Updates the state of the monitor. Supported values:The default value is an empty map.
Definition at line 128 of file alter_table_monitor.h.
◆ options
| std::map<std::string, std::string> gpudb::AlterTableMonitorRequest::options |
Optional parameters.
The default value is an empty map.
Definition at line 133 of file alter_table_monitor.h.
◆ topicId
| std::string gpudb::AlterTableMonitorRequest::topicId |
The topic ID returned by GPUdb::createTableMonitor.
Definition at line 98 of file alter_table_monitor.h.
The documentation for this struct was generated from the following file:
- gpudb/protocol/alter_table_monitor.h