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);
118 template<>
struct codec_traits<gpudb::DeleteRoleResponse>
122 ::avro::encode(e, v.
name);
127 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
129 const std::vector<size_t> fo = rd->fieldOrder();
131 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
136 ::avro::decode(d, v.
name);
146 ::avro::decode(d, v.
name);
std::map< std::string, std::string > options
A set of output parameters for const.
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.