6 #ifndef __ALTER_TIER_H__
7 #define __ALTER_TIER_H__
35 options(std::map<std::string, std::string>())
78 AlterTierRequest(
const std::string& name_,
const std::map<std::string, std::string>& options_):
85 std::map<std::string, std::string>
options;
91 template<>
struct codec_traits<gpudb::AlterTierRequest>
95 ::avro::encode(e, v.
name);
101 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
103 const std::vector<size_t> fo = rd->fieldOrder();
105 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
110 ::avro::decode(d, v.
name);
124 ::avro::decode(d, v.
name);
158 info(std::map<std::string, std::string>())
163 std::map<std::string, std::string>
info;
169 template<>
struct codec_traits<gpudb::AlterTierResponse>
173 ::avro::encode(e, v.
name);
174 ::avro::encode(e, v.
info);
179 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
181 const std::vector<size_t> fo = rd->fieldOrder();
183 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
188 ::avro::decode(d, v.
name);
192 ::avro::decode(d, v.
info);
202 ::avro::decode(d, v.
name);
203 ::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.