6 #ifndef __CLEAR_TRIGGER_H__
7 #define __CLEAR_TRIGGER_H__
29 options(std::map<std::string, std::string>())
41 ClearTriggerRequest(
const std::string& triggerId_,
const std::map<std::string, std::string>& options_):
48 std::map<std::string, std::string>
options;
54 template<>
struct codec_traits<gpudb::ClearTriggerRequest>
64 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
66 const std::vector<size_t> fo = rd->fieldOrder();
68 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
114 info(std::map<std::string, std::string>())
119 std::map<std::string, std::string>
info;
125 template<>
struct codec_traits<gpudb::ClearTriggerResponse>
130 ::avro::encode(e, v.
info);
135 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
137 const std::vector<size_t> fo = rd->fieldOrder();
139 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
148 ::avro::decode(d, v.
info);
159 ::avro::decode(d, v.
info);
A set of output parameters for const.
ClearTriggerRequest(const std::string &triggerId_, const std::map< std::string, std::string > &options_)
Constructs a ClearTriggerRequest object with the specified parameters.
ClearTriggerRequest()
Constructs a ClearTriggerRequest object with default parameter values.
std::map< std::string, std::string > options
std::map< std::string, std::string > info
ClearTriggerResponse()
Constructs a ClearTriggerResponse object with default parameter values.
A set of input parameters for const.