6 #ifndef __ADMIN_SHUTDOWN_H__
7 #define __ADMIN_SHUTDOWN_H__
28 options(std::map<std::string, std::string>())
43 AdminShutdownRequest(
const std::string& exitType_,
const std::string& authorization_,
const std::map<std::string, std::string>& options_):
52 std::map<std::string, std::string>
options;
58 template<>
struct codec_traits<gpudb::AdminShutdownRequest>
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)
122 info(std::map<std::string, std::string>())
127 std::map<std::string, std::string>
info;
133 template<>
struct codec_traits<gpudb::AdminShutdownResponse>
138 ::avro::encode(e, v.
info);
143 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
145 const std::vector<size_t> fo = rd->fieldOrder();
147 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
156 ::avro::decode(d, v.
info);
167 ::avro::decode(d, v.
info);
std::map< std::string, std::string > info
std::map< std::string, std::string > options
AdminShutdownRequest()
Constructs an AdminShutdownRequest object with default parameter values.
AdminShutdownResponse()
Constructs an AdminShutdownResponse object with default parameter values.
A set of output parameters for const.
A set of input parameters for const.
AdminShutdownRequest(const std::string &exitType_, const std::string &authorization_, const std::map< std::string, std::string > &options_)
Constructs an AdminShutdownRequest object with the specified parameters.
std::string authorization