6 #ifndef __CREATE_ENVIRONMENT_H__ 7 #define __CREATE_ENVIRONMENT_H__ 28 options(std::map<std::string, std::string>())
54 std::map<std::string, std::string>
options;
60 template<>
struct codec_traits<
gpudb::CreateEnvironmentRequest>
70 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
72 const std::vector<size_t> fo = rd->fieldOrder();
74 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
115 info(std::map<std::string, std::string>())
128 std::map<std::string, std::string>
info;
134 template<>
struct codec_traits<
gpudb::CreateEnvironmentResponse>
139 ::avro::encode(e, v.
info);
144 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
146 const std::vector<size_t> fo = rd->fieldOrder();
148 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
157 ::avro::decode(d, v.
info);
168 ::avro::decode(d, v.
info);
174 #endif // __CREATE_ENVIRONMENT_H__ A set of results returned by GPUdb::createEnvironment.
CreateEnvironmentRequest(const std::string &environmentName_, const std::map< std::string, std::string > &options_)
Constructs a CreateEnvironmentRequest object with the specified parameters.
std::string environmentName
Name of the environment to be created.
std::map< std::string, std::string > info
Additional information.
std::string environmentName
Value of environmentName.
CreateEnvironmentRequest()
Constructs a CreateEnvironmentRequest object with default parameters.
std::map< std::string, std::string > options
Optional parameters.
A set of parameters for GPUdb::createEnvironment.
CreateEnvironmentResponse()
Constructs a CreateEnvironmentResponse object with default parameters.