6 #ifndef __ADMIN_ALTER_HOST_H__
7 #define __ADMIN_ALTER_HOST_H__
29 options(std::map<std::string, std::string>())
63 std::map<std::string, std::string>
options;
69 template<>
struct codec_traits<gpudb::AdminAlterHostRequest>
73 ::avro::encode(e, v.
host);
79 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
81 const std::vector<size_t> fo = rd->fieldOrder();
83 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
88 ::avro::decode(d, v.
host);
102 ::avro::decode(d, v.
host);
128 info(std::map<std::string, std::string>())
132 std::map<std::string, std::string>
info;
138 template<>
struct codec_traits<gpudb::AdminAlterHostResponse>
142 ::avro::encode(e, v.
info);
147 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
149 const std::vector<size_t> fo = rd->fieldOrder();
151 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
156 ::avro::decode(d, v.
info);
166 ::avro::decode(d, v.
info);
A set of input parameters for const.
std::map< std::string, std::string > info
std::map< std::string, std::string > options
AdminAlterHostRequest(const std::string &host_, const std::map< std::string, std::string > &options_)
Constructs an AdminAlterHostRequest object with the specified parameters.
AdminAlterHostResponse()
Constructs an AdminAlterHostResponse object with default parameter values.
A set of output parameters for const.
AdminAlterHostRequest()
Constructs an AdminAlterHostRequest object with default parameter values.