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

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

Detailed Description

A set of output parameters for createTableMonitor(const CreateTableMonitorRequest&) const.

Creates a monitor that watches for new records inserted into a particular table (identified by tableName) and forwards copies to subscribers via ZMQ. After this call completes, subscribe to the returned topicId on the GPUdb ZMQ table monitor port (default 9002). Each time an insert operation 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 was inserted. The monitor will continue to run (regardless of whether or not there are any subscribers) until deactivated with clearTableMonitor(const ClearTableMonitorRequest&) const.

Definition at line 121 of file create_table_monitor.h.

Constructor & Destructor Documentation

gpudb::CreateTableMonitorResponse::CreateTableMonitorResponse ( )
inline

Constructs a CreateTableMonitorResponse object with default parameter values.

Definition at line 128 of file create_table_monitor.h.

Member Data Documentation

std::string gpudb::CreateTableMonitorResponse::tableName

Definition at line 136 of file create_table_monitor.h.

std::string gpudb::CreateTableMonitorResponse::topicId

Definition at line 135 of file create_table_monitor.h.

std::string gpudb::CreateTableMonitorResponse::typeSchema

Definition at line 137 of file create_table_monitor.h.


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