6 #ifndef __CREATE_USER_INTERNAL_H__
7 #define __CREATE_USER_INTERNAL_H__
29 options(std::map<std::string, std::string>())
71 CreateUserInternalRequest(
const std::string& name_,
const std::string& password_,
const std::map<std::string, std::string>& options_):
80 std::map<std::string, std::string>
options;
86 template<>
struct codec_traits<gpudb::CreateUserInternalRequest>
90 ::avro::encode(e, v.
name);
97 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
99 const std::vector<size_t> fo = rd->fieldOrder();
101 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
106 ::avro::decode(d, v.
name);
124 ::avro::decode(d, v.
name);
151 info(std::map<std::string, std::string>())
156 std::map<std::string, std::string>
info;
162 template<>
struct codec_traits<gpudb::CreateUserInternalResponse>
166 ::avro::encode(e, v.
name);
167 ::avro::encode(e, v.
info);
172 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
174 const std::vector<size_t> fo = rd->fieldOrder();
176 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
181 ::avro::decode(d, v.
name);
185 ::avro::decode(d, v.
info);
195 ::avro::decode(d, v.
name);
196 ::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.