6 #ifndef __ADMIN_SHOW_ALERTS_H__
7 #define __ADMIN_SHOW_ALERTS_H__
28 options(std::map<std::string, std::string>())
51 std::map<std::string, std::string>
options;
57 template<>
struct codec_traits<gpudb::AdminShowAlertsRequest>
67 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
69 const std::vector<size_t> fo = rd->fieldOrder();
71 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
116 types(std::vector<std::string>()),
117 params(std::vector<std::map<std::string, std::string> >()),
118 info(std::map<std::string, std::string>())
124 std::vector<std::map<std::string, std::string> >
params;
125 std::map<std::string, std::string>
info;
131 template<>
struct codec_traits<gpudb::AdminShowAlertsResponse>
136 ::avro::encode(e, v.
types);
137 ::avro::encode(e, v.
params);
138 ::avro::encode(e, v.
info);
143 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
145 const std::vector<size_t> fo = rd->fieldOrder();
147 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
156 ::avro::decode(d, v.
types);
160 ::avro::decode(d, v.
params);
164 ::avro::decode(d, v.
info);
175 ::avro::decode(d, v.
types);
176 ::avro::decode(d, v.
params);
177 ::avro::decode(d, v.
info);
std::map< std::string, std::string > options
AdminShowAlertsRequest(const int32_t numAlerts_, const std::map< std::string, std::string > &options_)
Constructs an AdminShowAlertsRequest object with the specified parameters.
std::vector< std::string > timestamps
std::vector< std::string > types
std::map< std::string, std::string > info
AdminShowAlertsResponse()
Constructs an AdminShowAlertsResponse object with default parameter values.
std::vector< std::map< std::string, std::string > > params
AdminShowAlertsRequest()
Constructs an AdminShowAlertsRequest object with default parameter values.
A set of input parameters for const.
A set of output parameters for const.