6 #ifndef __SHOW_TABLE_MONITORS_H__ 7 #define __SHOW_TABLE_MONITORS_H__ 30 options(std::map<std::string, std::string>())
59 std::map<std::string, std::string>
options;
65 template<>
struct codec_traits<
gpudb::ShowTableMonitorsRequest>
75 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
77 const std::vector<size_t> fo = rd->fieldOrder();
79 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
121 events(std::vector<std::string>()),
131 additionalInfo(std::vector<std::map<std::string, std::string> >()),
132 info(std::map<std::string, std::string>())
237 std::map<std::string, std::string>
info;
243 template<>
struct codec_traits<
gpudb::ShowTableMonitorsResponse>
249 ::avro::encode(e, v.
events);
260 ::avro::encode(e, v.
info);
265 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
267 const std::vector<size_t> fo = rd->fieldOrder();
269 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
282 ::avro::decode(d, v.
events);
326 ::avro::decode(d, v.
info);
338 ::avro::decode(d, v.
events);
349 ::avro::decode(d, v.
info);
355 #endif // __SHOW_TABLE_MONITORS_H__ std::vector< std::string > monitorIds
List of monitors to be shown.
std::map< std::string, std::string > options
Optional parameters.
std::vector< std::string > refreshPeriod
List of refresh periods used on the respective tables in tableNames.
std::vector< std::string > events
List of notification events for the respective monitorIds.
ShowTableMonitorsRequest(const std::vector< std::string > &monitorIds_, const std::map< std::string, std::string > &options_)
Constructs a ShowTableMonitorsRequest object with the specified parameters.
std::vector< std::string > refreshMethod
List of refresh methods used on the respective tables in tableNames.
ShowTableMonitorsRequest()
Constructs a ShowTableMonitorsRequest object with default parameters.
A set of results returned by GPUdb::showTableMonitors.
std::vector< std::string > datasinkNames
List of datasink names for the respective monitorIds if one is defined.
std::vector< std::string > monitorIds
List of monitor IDs.
std::vector< std::string > joinColumnNames
List of join_column_names.
std::vector< std::string > refreshStartTime
List of refresh start times used on the respective tables in tableNames.
ShowTableMonitorsResponse()
Constructs a ShowTableMonitorsResponse object with default parameters.
std::vector< std::string > increasingColumns
List of columns used on the respective tables in tableNames that will increase for new records.
std::vector< std::string > joinTableNames
List of join_table_names.
std::vector< std::string > tableNames
List of source tables being monitored for the respective monitorIds.
A set of parameters for GPUdb::showTableMonitors.
std::map< std::string, std::string > info
Additional information.
std::vector< std::string > filterExpressions
List of filter expressions used on the respective tables in tableNames to limit records for notificat...
std::vector< std::map< std::string, std::string > > additionalInfo
Additional information about the respective monitors in monitorIds.
std::vector< std::string > joinExpressions
List of join expressions.