6 #ifndef __SHOW_ENVIRONMENT_H__ 7 #define __SHOW_ENVIRONMENT_H__ 28 options(std::map<std::string, std::string>())
145 template<>
struct codec_traits<
gpudb::ShowEnvironmentRequest>
155 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
157 const std::vector<size_t> fo = rd->fieldOrder();
159 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
199 packages(std::vector<std::vector<std::string> >()),
200 info(std::map<std::string, std::string>())
218 std::map<std::string, std::string>
info;
224 template<>
struct codec_traits<
gpudb::ShowEnvironmentResponse>
230 ::avro::encode(e, v.
info);
235 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
237 const std::vector<size_t> fo = rd->fieldOrder();
239 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
252 ::avro::decode(d, v.
info);
264 ::avro::decode(d, v.
info);
270 #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.