6 #ifndef __KILL_PROC_H__
7 #define __KILL_PROC_H__
26 options(std::map<std::string, std::string>())
63 KillProcRequest(
const std::string& runId_,
const std::map<std::string, std::string>& options_):
70 std::map<std::string, std::string>
options;
76 template<>
struct codec_traits<gpudb::KillProcRequest>
80 ::avro::encode(e, v.
runId);
86 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
88 const std::vector<size_t> fo = rd->fieldOrder();
90 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
95 ::avro::decode(d, v.
runId);
109 ::avro::decode(d, v.
runId);
132 runIds(std::vector<std::string>()),
133 info(std::map<std::string, std::string>())
138 std::map<std::string, std::string>
info;
144 template<>
struct codec_traits<gpudb::KillProcResponse>
148 ::avro::encode(e, v.
runIds);
149 ::avro::encode(e, v.
info);
154 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
156 const std::vector<size_t> fo = rd->fieldOrder();
158 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
163 ::avro::decode(d, v.
runIds);
167 ::avro::decode(d, v.
info);
177 ::avro::decode(d, v.
runIds);
178 ::avro::decode(d, v.
info);
KillProcResponse()
Constructs a KillProcResponse object with default parameter values.
KillProcRequest()
Constructs a KillProcRequest object with default parameter values.
A set of input parameters for const.
std::map< std::string, std::string > options
std::vector< std::string > runIds
A set of output parameters for const.
KillProcRequest(const std::string &runId_, const std::map< std::string, std::string > &options_)
Constructs a KillProcRequest object with the specified parameters.
std::map< std::string, std::string > info