6 #ifndef __ADMIN_HA_REFRESH_H__
7 #define __ADMIN_HA_REFRESH_H__
28 options(std::map<std::string, std::string>())
44 std::map<std::string, std::string>
options;
50 template<>
struct codec_traits<gpudb::AdminHaRefreshRequest>
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 info(std::map<std::string, std::string>())
107 std::map<std::string, std::string>
info;
113 template<>
struct codec_traits<gpudb::AdminHaRefreshResponse>
117 ::avro::encode(e, v.
info);
122 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
124 const std::vector<size_t> fo = rd->fieldOrder();
126 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
131 ::avro::decode(d, v.
info);
141 ::avro::decode(d, v.
info);
AdminHaRefreshRequest()
Constructs an AdminHaRefreshRequest object with default parameter values.
AdminHaRefreshResponse()
Constructs an AdminHaRefreshResponse object with default parameter values.
std::map< std::string, std::string > options
A set of input parameters for const.
std::map< std::string, std::string > info
A set of output parameters for const.
AdminHaRefreshRequest(const std::map< std::string, std::string > &options_)
Constructs an AdminHaRefreshRequest object with the specified parameters.