6 #ifndef __DELETE_ROLE_H__
7 #define __DELETE_ROLE_H__
26 options(std::map<std::string, std::string>())
38 DeleteRoleRequest(
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::DeleteRoleRequest>
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::DeleteRoleResponse>
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);
std::map< std::string, std::string > options
A set of output parameters for const.
std::map< std::string, std::string > info
A set of input parameters for const.
DeleteRoleResponse()
Constructs a DeleteRoleResponse object with default parameter values.
DeleteRoleRequest()
Constructs a DeleteRoleRequest object with default parameter values.
DeleteRoleRequest(const std::string &name_, const std::map< std::string, std::string > &options_)
Constructs a DeleteRoleRequest object with the specified parameters.