6 #ifndef __SHOW_RESOURCE_STATISTICS_H__
7 #define __SHOW_RESOURCE_STATISTICS_H__
28 options(std::map<std::string, std::string>())
44 std::map<std::string, std::string>
options;
50 template<>
struct codec_traits<gpudb::ShowResourceStatisticsRequest>
59 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
61 const std::vector<size_t> fo = rd->fieldOrder();
63 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
104 info(std::map<std::string, std::string>())
109 std::map<std::string, std::string>
info;
115 template<>
struct codec_traits<gpudb::ShowResourceStatisticsResponse>
120 ::avro::encode(e, v.
info);
125 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
127 const std::vector<size_t> fo = rd->fieldOrder();
129 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
138 ::avro::decode(d, v.
info);
149 ::avro::decode(d, v.
info);
A set of input parameters for const.
std::map< std::string, std::string > options
ShowResourceStatisticsRequest(const std::map< std::string, std::string > &options_)
Constructs a ShowResourceStatisticsRequest object with the specified parameters.
ShowResourceStatisticsResponse()
Constructs a ShowResourceStatisticsResponse object with default parameter values. ...
std::map< std::string, std::string > statisticsMap
std::map< std::string, std::string > info
ShowResourceStatisticsRequest()
Constructs a ShowResourceStatisticsRequest object with default parameter values.
A set of output parameters for const.