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>()),
128 additionalInfo(std::vector<std::map<std::string, std::string> >()),
129 info(std::map<std::string, std::string>())
219 std::map<std::string, std::string>
info;
225 template<>
struct codec_traits<
gpudb::ShowTableMonitorsResponse>
231 ::avro::encode(e, v.
events);
239 ::avro::encode(e, v.
info);
244 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
246 const std::vector<size_t> fo = rd->fieldOrder();
248 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
261 ::avro::decode(d, v.
events);
293 ::avro::decode(d, v.
info);
305 ::avro::decode(d, v.
events);
313 ::avro::decode(d, v.
info);
319 #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 > 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 > 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.