6 #ifndef __DELETE_USER_H__ 7 #define __DELETE_USER_H__ 24 options(std::map<std::string, std::string>())
36 DeleteUserRequest(
const std::string& name_,
const std::map<std::string, std::string>& options_):
50 std::map<std::string, std::string>
options;
56 template<>
struct codec_traits<
gpudb::DeleteUserRequest>
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);
109 info(std::map<std::string, std::string>())
121 std::map<std::string, std::string>
info;
127 template<>
struct codec_traits<
gpudb::DeleteUserResponse>
131 ::avro::encode(e, v.
name);
132 ::avro::encode(e, v.
info);
137 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
139 const std::vector<size_t> fo = rd->fieldOrder();
141 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
146 ::avro::decode(d, v.
name);
150 ::avro::decode(d, v.
info);
160 ::avro::decode(d, v.
name);
161 ::avro::decode(d, v.
info);
167 #endif // __DELETE_USER_H__ A set of results returned by GPUdb::deleteUser.
DeleteUserRequest()
Constructs a DeleteUserRequest object with default parameters.
std::string name
Name of the user to be deleted.
std::map< std::string, std::string > info
Additional information.
A set of parameters for GPUdb::deleteUser.
std::map< std::string, std::string > options
Optional parameters.
std::string name
Value of name.
DeleteUserRequest(const std::string &name_, const std::map< std::string, std::string > &options_)
Constructs a DeleteUserRequest object with the specified parameters.
DeleteUserResponse()
Constructs a DeleteUserResponse object with default parameters.