6 #ifndef __DROP_ENVIRONMENT_H__ 7 #define __DROP_ENVIRONMENT_H__ 26 options(std::map<std::string, std::string>())
98 std::map<std::string, std::string>
options;
104 template<>
struct codec_traits<
gpudb::DropEnvironmentRequest>
114 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
116 const std::vector<size_t> fo = rd->fieldOrder();
118 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
158 info(std::map<std::string, std::string>())
171 std::map<std::string, std::string>
info;
177 template<>
struct codec_traits<
gpudb::DropEnvironmentResponse>
182 ::avro::encode(e, v.
info);
187 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
189 const std::vector<size_t> fo = rd->fieldOrder();
191 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
200 ::avro::decode(d, v.
info);
211 ::avro::decode(d, v.
info);
217 #endif // __DROP_ENVIRONMENT_H__
A set of parameters for GPUdb::dropEnvironment.
DropEnvironmentResponse()
Constructs a DropEnvironmentResponse object with default parameters.
DropEnvironmentRequest(const std::string &environmentName_, const std::map< std::string, std::string > &options_)
Constructs a DropEnvironmentRequest object with the specified parameters.
std::string environmentName
Value of environmentName.
DropEnvironmentRequest()
Constructs a DropEnvironmentRequest object with default parameters.
A set of results returned by GPUdb::dropEnvironment.
std::string environmentName
Name of the environment to be dropped.
std::map< std::string, std::string > options
Optional parameters.
std::map< std::string, std::string > info
Additional information.