6 #ifndef __KILL_PROC_H__
7 #define __KILL_PROC_H__
26 options(std::map<std::string, std::string>())
50 KillProcRequest(
const std::string& runId_,
const std::map<std::string, std::string>& options_):
57 std::map<std::string, std::string>
options;
63 template<>
struct codec_traits<gpudb::KillProcRequest>
67 ::avro::encode(e, v.
runId);
73 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
75 const std::vector<size_t> fo = rd->fieldOrder();
77 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
82 ::avro::decode(d, v.
runId);
96 ::avro::decode(d, v.
runId);
119 runIds(std::vector<std::string>()),
120 info(std::map<std::string, std::string>())
125 std::map<std::string, std::string>
info;
131 template<>
struct codec_traits<gpudb::KillProcResponse>
135 ::avro::encode(e, v.
runIds);
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)
150 ::avro::decode(d, v.
runIds);
154 ::avro::decode(d, v.
info);
164 ::avro::decode(d, v.
runIds);
165 ::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