6 #ifndef __CREATE_USER_INTERNAL_H__
7 #define __CREATE_USER_INTERNAL_H__
29 options(std::map<std::string, std::string>())
52 CreateUserInternalRequest(
const std::string& name_,
const std::string& password_,
const std::map<std::string, std::string>& options_):
61 std::map<std::string, std::string>
options;
67 template<>
struct codec_traits<gpudb::CreateUserInternalRequest>
71 ::avro::encode(e, v.
name);
78 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
80 const std::vector<size_t> fo = rd->fieldOrder();
82 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
87 ::avro::decode(d, v.
name);
105 ::avro::decode(d, v.
name);
132 info(std::map<std::string, std::string>())
137 std::map<std::string, std::string>
info;
143 template<>
struct codec_traits<gpudb::CreateUserInternalResponse>
147 ::avro::encode(e, v.
name);
148 ::avro::encode(e, v.
info);
153 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
155 const std::vector<size_t> fo = rd->fieldOrder();
157 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
162 ::avro::decode(d, v.
name);
166 ::avro::decode(d, v.
info);
176 ::avro::decode(d, v.
name);
177 ::avro::decode(d, v.
info);
A set of input parameters for const.
A set of output parameters for const.
std::map< std::string, std::string > options
CreateUserInternalResponse()
Constructs a CreateUserInternalResponse object with default parameter values.
std::map< std::string, std::string > info
CreateUserInternalRequest()
Constructs a CreateUserInternalRequest object with default parameter values.
CreateUserInternalRequest(const std::string &name_, const std::string &password_, const std::map< std::string, std::string > &options_)
Constructs a CreateUserInternalRequest object with the specified parameters.