6 #ifndef __SHOW_CREDENTIAL_H__ 7 #define __SHOW_CREDENTIAL_H__ 27 options(std::map<std::string, std::string>())
60 std::map<std::string, std::string>
options;
66 template<>
struct codec_traits<
gpudb::ShowCredentialRequest>
76 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
78 const std::vector<size_t> fo = rd->fieldOrder();
80 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
123 additionalInfo(std::vector<std::map<std::string, std::string> >()),
124 info(std::map<std::string, std::string>())
158 std::map<std::string, std::string>
info;
164 template<>
struct codec_traits<
gpudb::ShowCredentialResponse>
173 ::avro::encode(e, v.
info);
178 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
180 const std::vector<size_t> fo = rd->fieldOrder();
182 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
207 ::avro::decode(d, v.
info);
222 ::avro::decode(d, v.
info);
228 #endif // __SHOW_CREDENTIAL_H__ A set of results returned by GPUdb::showCredential.
A set of parameters for GPUdb::showCredential.
ShowCredentialRequest()
Constructs a ShowCredentialRequest object with default parameters.
std::vector< std::string > credentialTypes
A list of each credential's type.
std::vector< std::map< std::string, std::string > > additionalInfo
Additional information about the respective credential in credentialNames.
std::vector< std::string > credentialIdentities
A list of each credential's identity.
std::vector< std::string > credentialNames
A list of all credential names.
std::map< std::string, std::string > info
Additional information.
std::vector< std::string > credentials
A list of each credential's create_credential_request JSON encoded structure.
std::string credentialName
Name of the credential on which to retrieve information.
ShowCredentialResponse()
Constructs a ShowCredentialResponse object with default parameters.
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
Optional parameters.