6 #ifndef __SHOW_RESOURCE_OBJECTS_H__
7 #define __SHOW_RESOURCE_OBJECTS_H__
32 options(std::map<std::string, std::string>())
98 std::map<std::string, std::string>
options;
104 template<>
struct codec_traits<gpudb::ShowResourceObjectsRequest>
113 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
115 const std::vector<size_t> fo = rd->fieldOrder();
117 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
162 info(std::map<std::string, std::string>())
167 std::map<std::string, std::string>
info;
173 template<>
struct codec_traits<gpudb::ShowResourceObjectsResponse>
178 ::avro::encode(e, v.
info);
183 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
185 const std::vector<size_t> fo = rd->fieldOrder();
187 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
196 ::avro::decode(d, v.
info);
207 ::avro::decode(d, v.
info);
A set of output parameters for const.
ShowResourceObjectsRequest()
Constructs a ShowResourceObjectsRequest object with default parameter values.
A set of input parameters for const.
std::map< std::string, std::string > info
ShowResourceObjectsResponse()
Constructs a ShowResourceObjectsResponse object with default parameter values.
std::map< std::string, std::string > options
ShowResourceObjectsRequest(const std::map< std::string, std::string > &options_)
Constructs a ShowResourceObjectsRequest object with the specified parameters.
std::map< std::string, std::string > rankObjects