6 #ifndef __SHOW_CREDENTIAL_H__
7 #define __SHOW_CREDENTIAL_H__
29 options(std::map<std::string, std::string>())
53 std::map<std::string, std::string>
options;
59 template<>
struct codec_traits<gpudb::ShowCredentialRequest>
69 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
71 const std::vector<size_t> fo = rd->fieldOrder();
73 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
122 additionalInfo(std::vector<std::map<std::string, std::string> >()),
123 info(std::map<std::string, std::string>())
132 std::map<std::string, std::string>
info;
138 template<>
struct codec_traits<gpudb::ShowCredentialResponse>
147 ::avro::encode(e, v.
info);
152 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
154 const std::vector<size_t> fo = rd->fieldOrder();
156 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
181 ::avro::decode(d, v.
info);
196 ::avro::decode(d, v.
info);
A set of output parameters for const.
A set of input parameters for const.
ShowCredentialRequest()
Constructs a ShowCredentialRequest object with default parameter values.
std::vector< std::string > credentialTypes
std::vector< std::map< std::string, std::string > > additionalInfo
std::vector< std::string > credentialIdentities
std::vector< std::string > credentialNames
std::map< std::string, std::string > info
std::vector< std::string > credentials
std::string credentialName
ShowCredentialResponse()
Constructs a ShowCredentialResponse object with default parameter values.
ShowCredentialRequest(const std::string &credentialName_, const std::map< std::string, std::string > &options_)
Constructs a ShowCredentialRequest object with the specified parameters.
std::map< std::string, std::string > options