6 #ifndef __SHOW_SYSTEM_STATUS_H__
7 #define __SHOW_SYSTEM_STATUS_H__
28 options(std::map<std::string, std::string>())
44 std::map<std::string, std::string>
options;
50 template<>
struct codec_traits<gpudb::ShowSystemStatusRequest>
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)
103 statusMap(std::map<std::string, std::string>()),
104 info(std::map<std::string, std::string>())
109 std::map<std::string, std::string>
info;
115 template<>
struct codec_traits<gpudb::ShowSystemStatusResponse>
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
ShowSystemStatusRequest(const std::map< std::string, std::string > &options_)
Constructs a ShowSystemStatusRequest object with the specified parameters.
ShowSystemStatusResponse()
Constructs a ShowSystemStatusResponse object with default parameter values.
std::map< std::string, std::string > info
A set of output parameters for const.
ShowSystemStatusRequest()
Constructs a ShowSystemStatusRequest object with default parameter values.
std::map< std::string, std::string > statusMap