6 #ifndef __DROP_CREDENTIAL_H__
7 #define __DROP_CREDENTIAL_H__
28 options(std::map<std::string, std::string>())
48 std::map<std::string, std::string>
options;
54 template<>
struct codec_traits<gpudb::DropCredentialRequest>
64 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
66 const std::vector<size_t> fo = rd->fieldOrder();
68 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
113 info(std::map<std::string, std::string>())
118 std::map<std::string, std::string>
info;
124 template<>
struct codec_traits<gpudb::DropCredentialResponse>
129 ::avro::encode(e, v.
info);
134 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
136 const std::vector<size_t> fo = rd->fieldOrder();
138 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
147 ::avro::decode(d, v.
info);
158 ::avro::decode(d, v.
info);
std::map< std::string, std::string > options
A set of output parameters for const.
DropCredentialRequest(const std::string &credentialName_, const std::map< std::string, std::string > &options_)
Constructs a DropCredentialRequest object with the specified parameters.
std::string credentialName
A set of input parameters for const.
std::string credentialName
DropCredentialResponse()
Constructs a DropCredentialResponse object with default parameter values.
DropCredentialRequest()
Constructs a DropCredentialRequest object with default parameter values.
std::map< std::string, std::string > info