6 #ifndef __DROP_CREDENTIAL_H__ 7 #define __DROP_CREDENTIAL_H__ 26 options(std::map<std::string, std::string>())
54 std::map<std::string, std::string>
options;
60 template<>
struct codec_traits<
gpudb::DropCredentialRequest>
70 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
72 const std::vector<size_t> fo = rd->fieldOrder();
74 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
114 info(std::map<std::string, std::string>())
127 std::map<std::string, std::string>
info;
133 template<>
struct codec_traits<
gpudb::DropCredentialResponse>
138 ::avro::encode(e, v.
info);
143 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
145 const std::vector<size_t> fo = rd->fieldOrder();
147 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
156 ::avro::decode(d, v.
info);
167 ::avro::decode(d, v.
info);
173 #endif // __DROP_CREDENTIAL_H__ std::map< std::string, std::string > options
Optional parameters.
A set of results returned by GPUdb::dropCredential.
DropCredentialRequest(const std::string &credentialName_, const std::map< std::string, std::string > &options_)
Constructs a DropCredentialRequest object with the specified parameters.
std::string credentialName
Value of credentialName.
A set of parameters for GPUdb::dropCredential.
std::string credentialName
Name of the credential to be dropped.
DropCredentialResponse()
Constructs a DropCredentialResponse object with default parameters.
DropCredentialRequest()
Constructs a DropCredentialRequest object with default parameters.
std::map< std::string, std::string > info
Additional information.