6 #ifndef __CLEAR_TRIGGER_H__ 7 #define __CLEAR_TRIGGER_H__ 27 options(std::map<std::string, std::string>())
39 ClearTriggerRequest(
const std::string& triggerId_,
const std::map<std::string, std::string>& options_):
53 std::map<std::string, std::string>
options;
59 template<>
struct codec_traits<
gpudb::ClearTriggerRequest>
69 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
71 const std::vector<size_t> fo = rd->fieldOrder();
73 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
113 info(std::map<std::string, std::string>())
125 std::map<std::string, std::string>
info;
131 template<>
struct codec_traits<
gpudb::ClearTriggerResponse>
136 ::avro::encode(e, v.
info);
141 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
143 const std::vector<size_t> fo = rd->fieldOrder();
145 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
154 ::avro::decode(d, v.
info);
165 ::avro::decode(d, v.
info);
171 #endif // __CLEAR_TRIGGER_H__ A set of results returned by GPUdb::clearTrigger.
std::string triggerId
ID for the trigger to be deactivated.
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 parameters.
std::map< std::string, std::string > options
Optional parameters.
std::map< std::string, std::string > info
Additional information.
ClearTriggerResponse()
Constructs a ClearTriggerResponse object with default parameters.
A set of parameters for GPUdb::clearTrigger.
std::string triggerId
Value of triggerId.