6 #ifndef __ALTER_TABLE_H__
7 #define __ALTER_TABLE_H__
52 options(std::map<std::string, std::string>())
141 AlterTableRequest(
const std::string& tableName_,
const std::string& action_,
const std::string& value_,
const std::map<std::string, std::string>& options_):
158 template<>
struct codec_traits<gpudb::AlterTableRequest>
163 ::avro::encode(e, v.
action);
164 ::avro::encode(e, v.
value);
170 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
172 const std::vector<size_t> fo = rd->fieldOrder();
174 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
183 ::avro::decode(d, v.
action);
187 ::avro::decode(d, v.
value);
202 ::avro::decode(d, v.
action);
203 ::avro::decode(d, v.
value);
264 template<>
struct codec_traits<gpudb::AlterTableResponse>
269 ::avro::encode(e, v.
action);
270 ::avro::encode(e, v.
value);
275 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
277 const std::vector<size_t> fo = rd->fieldOrder();
279 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
288 ::avro::decode(d, v.
action);
292 ::avro::decode(d, v.
value);
303 ::avro::decode(d, v.
action);
304 ::avro::decode(d, v.
value);
A set of output parameters for const.
AlterTableResponse()
Constructs an AlterTableResponse object with default parameter values.
std::map< std::string, std::string > options
A set of input parameters for const.
AlterTableRequest()
Constructs an AlterTableRequest object with default parameter values.
AlterTableRequest(const std::string &tableName_, const std::string &action_, const std::string &value_, const std::map< std::string, std::string > &options_)
Constructs an AlterTableRequest object with the specified parameters.