6 #ifndef __ADMIN_REBALANCE_H__
7 #define __ADMIN_REBALANCE_H__
33 options(std::map<std::string, std::string>())
149 template<>
struct codec_traits<gpudb::AdminRebalanceRequest>
158 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
160 const std::vector<size_t> fo = rd->fieldOrder();
162 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
207 info(std::map<std::string, std::string>())
211 std::map<std::string, std::string>
info;
217 template<>
struct codec_traits<gpudb::AdminRebalanceResponse>
221 ::avro::encode(e, v.
info);
226 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
228 const std::vector<size_t> fo = rd->fieldOrder();
230 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
235 ::avro::decode(d, v.
info);
245 ::avro::decode(d, v.
info);
std::map< std::string, std::string > info
AdminRebalanceResponse()
Constructs an AdminRebalanceResponse object with default parameter values.
A set of input parameters for const.
AdminRebalanceRequest()
Constructs an AdminRebalanceRequest object with default parameter values.
A set of output parameters for const.
std::map< std::string, std::string > options
AdminRebalanceRequest(const std::map< std::string, std::string > &options_)
Constructs an AdminRebalanceRequest object with the specified parameters.