6 #ifndef __REVOKE_PERMISSION_TABLE_H__
7 #define __REVOKE_PERMISSION_TABLE_H__
29 options(std::map<std::string, std::string>())
70 RevokePermissionTableRequest(
const std::string& name_,
const std::string& permission_,
const std::string& tableName_,
const std::map<std::string, std::string>& options_):
81 std::map<std::string, std::string>
options;
87 template<>
struct codec_traits<gpudb::RevokePermissionTableRequest>
91 ::avro::encode(e, v.
name);
99 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
101 const std::vector<size_t> fo = rd->fieldOrder();
103 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
108 ::avro::decode(d, v.
name);
130 ::avro::decode(d, v.
name);
159 info(std::map<std::string, std::string>())
166 std::map<std::string, std::string>
info;
172 template<>
struct codec_traits<gpudb::RevokePermissionTableResponse>
176 ::avro::encode(e, v.
name);
179 ::avro::encode(e, v.
info);
184 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
186 const std::vector<size_t> fo = rd->fieldOrder();
188 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
193 ::avro::decode(d, v.
name);
205 ::avro::decode(d, v.
info);
215 ::avro::decode(d, v.
name);
218 ::avro::decode(d, v.
info);
std::map< std::string, std::string > info
std::map< std::string, std::string > options
RevokePermissionTableRequest()
Constructs a RevokePermissionTableRequest object with default parameter values.
RevokePermissionTableResponse()
Constructs a RevokePermissionTableResponse object with default parameter values.
A set of input parameters for const.
RevokePermissionTableRequest(const std::string &name_, const std::string &permission_, const std::string &tableName_, const std::map< std::string, std::string > &options_)
Constructs a RevokePermissionTableRequest object with the specified parameters.
A set of output parameters for const.