6 #ifndef __GRANT_PERMISSION_TABLE_H__
7 #define __GRANT_PERMISSION_TABLE_H__
30 options(std::map<std::string, std::string>())
76 GrantPermissionTableRequest(
const std::string& name_,
const std::string& permission_,
const std::string& tableName_,
const std::string& filterExpression_,
const std::map<std::string, std::string>& options_):
89 std::map<std::string, std::string>
options;
95 template<>
struct codec_traits<gpudb::GrantPermissionTableRequest>
99 ::avro::encode(e, v.
name);
108 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
110 const std::vector<size_t> fo = rd->fieldOrder();
112 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
117 ::avro::decode(d, v.
name);
143 ::avro::decode(d, v.
name);
174 info(std::map<std::string, std::string>())
182 std::map<std::string, std::string>
info;
188 template<>
struct codec_traits<gpudb::GrantPermissionTableResponse>
192 ::avro::encode(e, v.
name);
196 ::avro::encode(e, v.
info);
201 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
203 const std::vector<size_t> fo = rd->fieldOrder();
205 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
210 ::avro::decode(d, v.
name);
226 ::avro::decode(d, v.
info);
236 ::avro::decode(d, v.
name);
240 ::avro::decode(d, v.
info);
std::string filterExpression
GrantPermissionTableRequest()
Constructs a GrantPermissionTableRequest object with default parameter values.
std::map< std::string, std::string > info
A set of output parameters for const.
GrantPermissionTableRequest(const std::string &name_, const std::string &permission_, const std::string &tableName_, const std::string &filterExpression_, const std::map< std::string, std::string > &options_)
Constructs a GrantPermissionTableRequest object with the specified parameters.
std::map< std::string, std::string > options
std::string filterExpression
GrantPermissionTableResponse()
Constructs a GrantPermissionTableResponse object with default parameter values.
A set of input parameters for const.