6 #ifndef __REVOKE_PERMISSION_TABLE_H__ 7 #define __REVOKE_PERMISSION_TABLE_H__ 28 options(std::map<std::string, std::string>())
80 RevokePermissionTableRequest(
const std::string& name_,
const std::string& permission_,
const std::string& tableName_,
const std::map<std::string, std::string>& options_):
141 template<>
struct codec_traits<
gpudb::RevokePermissionTableRequest>
145 ::avro::encode(e, v.
name);
153 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
155 const std::vector<size_t> fo = rd->fieldOrder();
157 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
162 ::avro::decode(d, v.
name);
184 ::avro::decode(d, v.
name);
210 info(std::map<std::string, std::string>())
234 std::map<std::string, std::string>
info;
240 template<>
struct codec_traits<
gpudb::RevokePermissionTableResponse>
244 ::avro::encode(e, v.
name);
247 ::avro::encode(e, v.
info);
252 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
254 const std::vector<size_t> fo = rd->fieldOrder();
256 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
261 ::avro::decode(d, v.
name);
273 ::avro::decode(d, v.
info);
283 ::avro::decode(d, v.
name);
286 ::avro::decode(d, v.
info);
292 #endif // __REVOKE_PERMISSION_TABLE_H__ std::map< std::string, std::string > info
Additional information.
std::string permission
Permission to revoke from the user or role.
std::map< std::string, std::string > options
Optional parameters.
std::string name
Value of name.
RevokePermissionTableRequest()
Constructs a RevokePermissionTableRequest object with default parameters.
std::string tableName
Value of tableName.
std::string tableName
Name of the table to which the permission grants access, in [ schema_name. ]table_name format,...
std::string permission
Value of permission.
std::string name
Name of the user or role from which the permission will be revoked.
RevokePermissionTableResponse()
Constructs a RevokePermissionTableResponse object with default parameters.
A set of parameters for GPUdb::revokePermissionTable.
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 results returned by GPUdb::revokePermissionTable.