6 #ifndef __REVOKE_PERMISSION_PROC_H__
7 #define __REVOKE_PERMISSION_PROC_H__
29 options(std::map<std::string, std::string>())
52 RevokePermissionProcRequest(
const std::string& name_,
const std::string& permission_,
const std::string& procName_,
const std::map<std::string, std::string>& options_):
63 std::map<std::string, std::string>
options;
69 template<>
struct codec_traits<gpudb::RevokePermissionProcRequest>
73 ::avro::encode(e, v.
name);
81 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
83 const std::vector<size_t> fo = rd->fieldOrder();
85 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
90 ::avro::decode(d, v.
name);
112 ::avro::decode(d, v.
name);
141 info(std::map<std::string, std::string>())
148 std::map<std::string, std::string>
info;
154 template<>
struct codec_traits<gpudb::RevokePermissionProcResponse>
158 ::avro::encode(e, v.
name);
161 ::avro::encode(e, v.
info);
166 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
168 const std::vector<size_t> fo = rd->fieldOrder();
170 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
175 ::avro::decode(d, v.
name);
187 ::avro::decode(d, v.
info);
197 ::avro::decode(d, v.
name);
200 ::avro::decode(d, v.
info);
RevokePermissionProcRequest(const std::string &name_, const std::string &permission_, const std::string &procName_, const std::map< std::string, std::string > &options_)
Constructs a RevokePermissionProcRequest object with the specified parameters.
RevokePermissionProcRequest()
Constructs a RevokePermissionProcRequest object with default parameter values.
std::map< std::string, std::string > options
A set of output parameters for const.
RevokePermissionProcResponse()
Constructs a RevokePermissionProcResponse object with default parameter values.
std::map< std::string, std::string > info
A set of input parameters for const.