6 #ifndef __SHOW_TRIGGERS_H__
7 #define __SHOW_TRIGGERS_H__
28 options(std::map<std::string, std::string>())
43 ShowTriggersRequest(
const std::vector<std::string>& triggerIds_,
const std::map<std::string, std::string>& options_):
50 std::map<std::string, std::string>
options;
56 template<>
struct codec_traits<gpudb::ShowTriggersRequest>
66 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
68 const std::vector<size_t> fo = rd->fieldOrder();
70 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
114 triggerMap(std::map<std::string, std::map<std::string, std::string> >()),
115 info(std::map<std::string, std::string>())
119 std::map<std::string, std::map<std::string, std::string> >
triggerMap;
120 std::map<std::string, std::string>
info;
126 template<>
struct codec_traits<gpudb::ShowTriggersResponse>
131 ::avro::encode(e, v.
info);
136 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
138 const std::vector<size_t> fo = rd->fieldOrder();
140 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
149 ::avro::decode(d, v.
info);
160 ::avro::decode(d, v.
info);
ShowTriggersResponse()
Constructs a ShowTriggersResponse object with default parameter values.
std::map< std::string, std::map< std::string, std::string > > triggerMap
A set of input parameters for const.
std::vector< std::string > triggerIds
ShowTriggersRequest(const std::vector< std::string > &triggerIds_, const std::map< std::string, std::string > &options_)
Constructs a ShowTriggersRequest object with the specified parameters.
std::map< std::string, std::string > options
A set of output parameters for const.
std::map< std::string, std::string > info
ShowTriggersRequest()
Constructs a ShowTriggersRequest object with default parameter values.