6 #ifndef __GRANT_PERMISSION_SYSTEM_H__
7 #define __GRANT_PERMISSION_SYSTEM_H__
28 options(std::map<std::string, std::string>())
67 std::map<std::string, std::string>
options;
73 template<>
struct codec_traits<gpudb::GrantPermissionSystemRequest>
77 ::avro::encode(e, v.
name);
84 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
86 const std::vector<size_t> fo = rd->fieldOrder();
88 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
93 ::avro::decode(d, v.
name);
111 ::avro::decode(d, v.
name);
138 info(std::map<std::string, std::string>())
144 std::map<std::string, std::string>
info;
150 template<>
struct codec_traits<gpudb::GrantPermissionSystemResponse>
154 ::avro::encode(e, v.
name);
156 ::avro::encode(e, v.
info);
161 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
163 const std::vector<size_t> fo = rd->fieldOrder();
165 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
170 ::avro::decode(d, v.
name);
178 ::avro::decode(d, v.
info);
188 ::avro::decode(d, v.
name);
190 ::avro::decode(d, v.
info);
std::map< std::string, std::string > info
GrantPermissionSystemRequest(const std::string &name_, const std::string &permission_, const std::map< std::string, std::string > &options_)
Constructs a GrantPermissionSystemRequest object with the specified parameters.
A set of input parameters for const.
std::map< std::string, std::string > options
GrantPermissionSystemRequest()
Constructs a GrantPermissionSystemRequest object with default parameter values.
A set of output parameters for const.
GrantPermissionSystemResponse()
Constructs a GrantPermissionSystemResponse object with default parameter values.