6 #ifndef __CREATE_USER_EXTERNAL_H__
7 #define __CREATE_USER_EXTERNAL_H__
28 options(std::map<std::string, std::string>())
75 std::map<std::string, std::string>
options;
81 template<>
struct codec_traits<gpudb::CreateUserExternalRequest>
85 ::avro::encode(e, v.
name);
91 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
93 const std::vector<size_t> fo = rd->fieldOrder();
95 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
100 ::avro::decode(d, v.
name);
114 ::avro::decode(d, v.
name);
140 info(std::map<std::string, std::string>())
145 std::map<std::string, std::string>
info;
151 template<>
struct codec_traits<gpudb::CreateUserExternalResponse>
155 ::avro::encode(e, v.
name);
156 ::avro::encode(e, v.
info);
161 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
163 const std::vector<size_t> fo = rd->fieldOrder();
165 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
170 ::avro::decode(d, v.
name);
174 ::avro::decode(d, v.
info);
184 ::avro::decode(d, v.
name);
185 ::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