6 #ifndef __SHOW_RESOURCE_OBJECTS_H__ 7 #define __SHOW_RESOURCE_OBJECTS_H__ 29 options(std::map<std::string, std::string>())
165 template<>
struct codec_traits<
gpudb::ShowResourceObjectsRequest>
174 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
176 const std::vector<size_t> fo = rd->fieldOrder();
178 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
214 info(std::map<std::string, std::string>())
228 std::map<std::string, std::string>
info;
234 template<>
struct codec_traits<
gpudb::ShowResourceObjectsResponse>
239 ::avro::encode(e, v.
info);
244 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
246 const std::vector<size_t> fo = rd->fieldOrder();
248 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
257 ::avro::decode(d, v.
info);
268 ::avro::decode(d, v.
info);
274 #endif // __SHOW_RESOURCE_OBJECTS_H__ A set of results returned by GPUdb::showResourceObjects.
ShowResourceObjectsRequest()
Constructs a ShowResourceObjectsRequest object with default parameters.
A set of parameters for GPUdb::showResourceObjects.
std::map< std::string, std::string > info
Additional information.
ShowResourceObjectsResponse()
Constructs a ShowResourceObjectsResponse object with default parameters.
std::map< std::string, std::string > options
Optional parameters.
ShowResourceObjectsRequest(const std::map< std::string, std::string > &options_)
Constructs a ShowResourceObjectsRequest object with the specified parameters.
std::map< std::string, std::string > rankObjects
Tier usage across ranks.