6 #ifndef __CREATE_ENVIRONMENT_H__
7 #define __CREATE_ENVIRONMENT_H__
29 options(std::map<std::string, std::string>())
48 std::map<std::string, std::string>
options;
54 template<>
struct codec_traits<gpudb::CreateEnvironmentRequest>
64 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
66 const std::vector<size_t> fo = rd->fieldOrder();
68 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
114 info(std::map<std::string, std::string>())
119 std::map<std::string, std::string>
info;
125 template<>
struct codec_traits<gpudb::CreateEnvironmentResponse>
130 ::avro::encode(e, v.
info);
135 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
137 const std::vector<size_t> fo = rd->fieldOrder();
139 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
148 ::avro::decode(d, v.
info);
159 ::avro::decode(d, v.
info);
A set of output parameters for const.
CreateEnvironmentRequest(const std::string &environmentName_, const std::map< std::string, std::string > &options_)
Constructs a CreateEnvironmentRequest object with the specified parameters.
std::string environmentName
std::map< std::string, std::string > info
std::string environmentName
CreateEnvironmentRequest()
Constructs a CreateEnvironmentRequest object with default parameter values.
std::map< std::string, std::string > options
A set of input parameters for const.
CreateEnvironmentResponse()
Constructs a CreateEnvironmentResponse object with default parameter values.