6 #ifndef __SHOW_RESOURCE_OBJECTS_H__ 7 #define __SHOW_RESOURCE_OBJECTS_H__ 29 options(std::map<std::string, std::string>())
185 template<>
struct codec_traits<
gpudb::ShowResourceObjectsRequest>
194 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
196 const std::vector<size_t> fo = rd->fieldOrder();
198 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
234 info(std::map<std::string, std::string>())
248 std::map<std::string, std::string>
info;
254 template<>
struct codec_traits<
gpudb::ShowResourceObjectsResponse>
259 ::avro::encode(e, v.
info);
264 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
266 const std::vector<size_t> fo = rd->fieldOrder();
268 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
277 ::avro::decode(d, v.
info);
288 ::avro::decode(d, v.
info);
294 #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.