6 #ifndef __ADMIN_ADD_HOST_H__ 7 #define __ADMIN_ADD_HOST_H__ 25 options(std::map<std::string, std::string>())
200 template<>
struct codec_traits<
gpudb::AdminAddHostRequest>
210 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
212 const std::vector<size_t> fo = rd->fieldOrder();
214 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
254 info(std::map<std::string, std::string>())
269 std::map<std::string, std::string>
info;
275 template<>
struct codec_traits<
gpudb::AdminAddHostResponse>
280 ::avro::encode(e, v.
info);
285 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
287 const std::vector<size_t> fo = rd->fieldOrder();
289 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
298 ::avro::decode(d, v.
info);
309 ::avro::decode(d, v.
info);
315 #endif // __ADMIN_ADD_HOST_H__
std::map< std::string, std::string > info
Additional information.
std::map< std::string, std::string > options
Optional parameters.
AdminAddHostRequest()
Constructs an AdminAddHostRequest object with default parameters.
AdminAddHostResponse()
Constructs an AdminAddHostResponse object with default parameters.
A set of parameters for GPUdb::adminAddHost.
std::string addedHost
Identifier for the newly added host, of the format 'hostN' where N is the integer identifier of that ...
AdminAddHostRequest(const std::string &hostAddress_, const std::map< std::string, std::string > &options_)
Constructs an AdminAddHostRequest object with the specified parameters.
A set of results returned by GPUdb::adminAddHost.
std::string hostAddress
IP address of the host that will be added to the cluster.