6 #ifndef __SHOW_ENVIRONMENT_H__ 7 #define __SHOW_ENVIRONMENT_H__ 28 options(std::map<std::string, std::string>())
113 template<>
struct codec_traits<
gpudb::ShowEnvironmentRequest>
123 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
125 const std::vector<size_t> fo = rd->fieldOrder();
127 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
167 packages(std::vector<std::vector<std::string> >()),
168 info(std::map<std::string, std::string>())
186 std::map<std::string, std::string>
info;
192 template<>
struct codec_traits<
gpudb::ShowEnvironmentResponse>
198 ::avro::encode(e, v.
info);
203 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
205 const std::vector<size_t> fo = rd->fieldOrder();
207 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
220 ::avro::decode(d, v.
info);
232 ::avro::decode(d, v.
info);
238 #endif // __SHOW_ENVIRONMENT_H__ A set of parameters for GPUdb::showEnvironment.
std::vector< std::string > environmentNames
A list of all credential names.
std::map< std::string, std::string > info
Additional information.
std::map< std::string, std::string > options
Optional parameters.
A set of results returned by GPUdb::showEnvironment.
ShowEnvironmentRequest()
Constructs a ShowEnvironmentRequest object with default parameters.
std::string environmentName
Name of the environment on which to retrieve information.
ShowEnvironmentRequest(const std::string &environmentName_, const std::map< std::string, std::string > &options_)
Constructs a ShowEnvironmentRequest object with the specified parameters.
ShowEnvironmentResponse()
Constructs a ShowEnvironmentResponse object with default parameters.
std::vector< std::vector< std::string > > packages
Information about the installed packages in the respective environments in environmentNames.