6 #ifndef __CREATE_USER_EXTERNAL_H__
7 #define __CREATE_USER_EXTERNAL_H__
28 options(std::map<std::string, std::string>())
50 std::map<std::string, std::string>
options;
56 template<>
struct codec_traits<gpudb::CreateUserExternalRequest>
60 ::avro::encode(e, v.
name);
66 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
68 const std::vector<size_t> fo = rd->fieldOrder();
70 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
75 ::avro::decode(d, v.
name);
89 ::avro::decode(d, v.
name);
115 info(std::map<std::string, std::string>())
120 std::map<std::string, std::string>
info;
126 template<>
struct codec_traits<gpudb::CreateUserExternalResponse>
130 ::avro::encode(e, v.
name);
131 ::avro::encode(e, v.
info);
136 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
138 const std::vector<size_t> fo = rd->fieldOrder();
140 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
145 ::avro::decode(d, v.
name);
149 ::avro::decode(d, v.
info);
159 ::avro::decode(d, v.
name);
160 ::avro::decode(d, v.
info);
A set of output parameters for const.
std::map< std::string, std::string > options
CreateUserExternalRequest()
Constructs a CreateUserExternalRequest object with default parameter values.
CreateUserExternalResponse()
Constructs a CreateUserExternalResponse object with default parameter values.
A set of input parameters for const.
CreateUserExternalRequest(const std::string &name_, const std::map< std::string, std::string > &options_)
Constructs a CreateUserExternalRequest object with the specified parameters.
std::map< std::string, std::string > info