6 #ifndef __ALTER_CREDENTIAL_H__ 7 #define __ALTER_CREDENTIAL_H__ 27 options(std::map<std::string, std::string>())
108 AlterCredentialRequest(
const std::string& credentialName_,
const std::map<std::string, std::string>& credentialUpdatesMap_,
const std::map<std::string, std::string>& options_):
176 template<>
struct codec_traits<
gpudb::AlterCredentialRequest>
187 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
189 const std::vector<size_t> fo = rd->fieldOrder();
191 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
237 info(std::map<std::string, std::string>())
250 std::map<std::string, std::string>
info;
256 template<>
struct codec_traits<
gpudb::AlterCredentialResponse>
261 ::avro::encode(e, v.
info);
266 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
268 const std::vector<size_t> fo = rd->fieldOrder();
270 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
279 ::avro::decode(d, v.
info);
290 ::avro::decode(d, v.
info);
296 #endif // __ALTER_CREDENTIAL_H__ std::map< std::string, std::string > options
Optional parameters.
AlterCredentialResponse()
Constructs an AlterCredentialResponse object with default parameters.
std::string credentialName
Value of credentialName.
A set of results returned by GPUdb::alterCredential.
std::map< std::string, std::string > credentialUpdatesMap
Map containing the properties of the credential to be updated.
A set of parameters for GPUdb::alterCredential.
AlterCredentialRequest()
Constructs an AlterCredentialRequest object with default parameters.
std::string credentialName
Name of the credential to be altered.
std::map< std::string, std::string > info
Additional information.
AlterCredentialRequest(const std::string &credentialName_, const std::map< std::string, std::string > &credentialUpdatesMap_, const std::map< std::string, std::string > &options_)
Constructs an AlterCredentialRequest object with the specified parameters.