6 #ifndef __ALTER_TIER_H__
7 #define __ALTER_TIER_H__
33 options(std::map<std::string, std::string>())
59 AlterTierRequest(
const std::string& name_,
const std::map<std::string, std::string>& options_):
66 std::map<std::string, std::string>
options;
72 template<>
struct codec_traits<gpudb::AlterTierRequest>
76 ::avro::encode(e, v.
name);
82 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
84 const std::vector<size_t> fo = rd->fieldOrder();
86 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
91 ::avro::decode(d, v.
name);
105 ::avro::decode(d, v.
name);
137 info(std::map<std::string, std::string>())
142 std::map<std::string, std::string>
info;
148 template<>
struct codec_traits<gpudb::AlterTierResponse>
152 ::avro::encode(e, v.
name);
153 ::avro::encode(e, v.
info);
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)
167 ::avro::decode(d, v.
name);
171 ::avro::decode(d, v.
info);
181 ::avro::decode(d, v.
name);
182 ::avro::decode(d, v.
info);
AlterTierRequest(const std::string &name_, const std::map< std::string, std::string > &options_)
Constructs an AlterTierRequest object with the specified parameters.
AlterTierResponse()
Constructs an AlterTierResponse object with default parameter values.
std::map< std::string, std::string > info
AlterTierRequest()
Constructs an AlterTierRequest object with default parameter values.
A set of input parameters for const.
std::map< std::string, std::string > options
A set of output parameters for const.