6 #ifndef __DELETE_USER_H__
7 #define __DELETE_USER_H__
26 options(std::map<std::string, std::string>())
38 DeleteUserRequest(
const std::string& name_,
const std::map<std::string, std::string>& options_):
45 std::map<std::string, std::string>
options;
51 template<>
struct codec_traits<gpudb::DeleteUserRequest>
55 ::avro::encode(e, v.
name);
61 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
63 const std::vector<size_t> fo = rd->fieldOrder();
65 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
70 ::avro::decode(d, v.
name);
84 ::avro::decode(d, v.
name);
109 info(std::map<std::string, std::string>())
114 std::map<std::string, std::string>
info;
120 template<>
struct codec_traits<gpudb::DeleteUserResponse>
124 ::avro::encode(e, v.
name);
125 ::avro::encode(e, v.
info);
130 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
132 const std::vector<size_t> fo = rd->fieldOrder();
134 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
139 ::avro::decode(d, v.
name);
143 ::avro::decode(d, v.
info);
153 ::avro::decode(d, v.
name);
154 ::avro::decode(d, v.
info);
A set of output parameters for const.
DeleteUserRequest()
Constructs a DeleteUserRequest object with default parameter values.
std::map< std::string, std::string > info
A set of input parameters for const.
std::map< std::string, std::string > options
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 parameter values.