6 #ifndef __CREATE_USER_EXTERNAL_H__ 7 #define __CREATE_USER_EXTERNAL_H__ 27 options(std::map<std::string, std::string>())
166 template<>
struct codec_traits<
gpudb::CreateUserExternalRequest>
170 ::avro::encode(e, v.
name);
176 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
178 const std::vector<size_t> fo = rd->fieldOrder();
180 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
185 ::avro::decode(d, v.
name);
199 ::avro::decode(d, v.
name);
221 info(std::map<std::string, std::string>())
233 std::map<std::string, std::string>
info;
239 template<>
struct codec_traits<
gpudb::CreateUserExternalResponse>
243 ::avro::encode(e, v.
name);
244 ::avro::encode(e, v.
info);
249 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
251 const std::vector<size_t> fo = rd->fieldOrder();
253 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
258 ::avro::decode(d, v.
name);
262 ::avro::decode(d, v.
info);
272 ::avro::decode(d, v.
name);
273 ::avro::decode(d, v.
info);
279 #endif // __CREATE_USER_EXTERNAL_H__
A set of results returned by GPUdb::createUserExternal.
std::map< std::string, std::string > options
Optional parameters.
CreateUserExternalRequest()
Constructs a CreateUserExternalRequest object with default parameters.
CreateUserExternalResponse()
Constructs a CreateUserExternalResponse object with default parameters.
A set of parameters for GPUdb::createUserExternal.
CreateUserExternalRequest(const std::string &name_, const std::map< std::string, std::string > &options_)
Constructs a CreateUserExternalRequest object with the specified parameters.
std::string name
Name of the user to be created.
std::map< std::string, std::string > info
Additional information.
std::string name
Value of name.