6 #ifndef __ALTER_ENVIRONMENT_H__ 7 #define __ALTER_ENVIRONMENT_H__ 30 options(std::map<std::string, std::string>())
100 AlterEnvironmentRequest(
const std::string& environmentName_,
const std::string& action_,
const std::string& value_,
const std::map<std::string, std::string>& options_):
176 template<>
struct codec_traits<
gpudb::AlterEnvironmentRequest>
181 ::avro::encode(e, v.
action);
182 ::avro::encode(e, v.
value);
188 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
190 const std::vector<size_t> fo = rd->fieldOrder();
192 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
201 ::avro::decode(d, v.
action);
205 ::avro::decode(d, v.
value);
220 ::avro::decode(d, v.
action);
221 ::avro::decode(d, v.
value);
243 info(std::map<std::string, std::string>())
256 std::map<std::string, std::string>
info;
262 template<>
struct codec_traits<
gpudb::AlterEnvironmentResponse>
267 ::avro::encode(e, v.
info);
272 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
274 const std::vector<size_t> fo = rd->fieldOrder();
276 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
285 ::avro::decode(d, v.
info);
296 ::avro::decode(d, v.
info);
302 #endif // __ALTER_ENVIRONMENT_H__ A set of parameters for GPUdb::alterEnvironment.
A set of results returned by GPUdb::alterEnvironment.
std::string value
The value of the modification, depending on action.
std::string environmentName
Name of the environment to be altered.
std::string environmentName
Value of environmentName.
std::map< std::string, std::string > info
Additional information.
std::string action
Modification operation to be applied.
AlterEnvironmentRequest(const std::string &environmentName_, const std::string &action_, const std::string &value_, const std::map< std::string, std::string > &options_)
Constructs an AlterEnvironmentRequest object with the specified parameters.
AlterEnvironmentRequest()
Constructs an AlterEnvironmentRequest object with default parameters.
std::map< std::string, std::string > options
Optional parameters.
AlterEnvironmentResponse()
Constructs an AlterEnvironmentResponse object with default parameters.