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

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

#include <gpudb/protocol/create_table_monitor.h>

Public Member Functions

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

Public Attributes

std::string topicId
 
std::string tableName
 
std::string typeSchema
 
std::map< std::string,
std::string > 
info
 

Detailed Description

A set of output parameters for const.

Creates a monitor that watches for a single table modification event type (insert, update, or delete) on a particular table (identified by tableName) and forwards event notifications to subscribers via ZMQ. After this call completes, subscribe to the returned topicId on the ZMQ table monitor port (default 9002). Each time an operation of the given type on the table completes, a multipart message is published for that topic; the first part contains only the topic ID, and each subsequent part contains one binary-encoded Avro object that corresponds to the event and can be decoded using typeSchema. The monitor will continue to run (regardless of whether or not there are any subscribers) until deactivated with const.

For more information on table monitors, see Table Monitors.

Definition at line 161 of file create_table_monitor.h.

Constructor & Destructor Documentation

gpudb::CreateTableMonitorResponse::CreateTableMonitorResponse ( )
inline

Constructs a CreateTableMonitorResponse object with default parameter values.

Definition at line 168 of file create_table_monitor.h.

Member Data Documentation

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

Definition at line 179 of file create_table_monitor.h.

std::string gpudb::CreateTableMonitorResponse::tableName

Definition at line 177 of file create_table_monitor.h.

std::string gpudb::CreateTableMonitorResponse::topicId

Definition at line 176 of file create_table_monitor.h.

std::string gpudb::CreateTableMonitorResponse::typeSchema

Definition at line 178 of file create_table_monitor.h.


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