6 #ifndef __ALTER_DATASINK_H__
7 #define __ALTER_DATASINK_H__
29 options(std::map<std::string, std::string>())
233 AlterDatasinkRequest(
const std::string& name_,
const std::map<std::string, std::string>& datasinkUpdatesMap_,
const std::map<std::string, std::string>& options_):
248 template<>
struct codec_traits<gpudb::AlterDatasinkRequest>
252 ::avro::encode(e, v.
name);
259 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
261 const std::vector<size_t> fo = rd->fieldOrder();
263 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
268 ::avro::decode(d, v.
name);
286 ::avro::decode(d, v.
name);
313 info(std::map<std::string, std::string>())
318 std::map<std::string, std::string>
info;
324 template<>
struct codec_traits<gpudb::AlterDatasinkResponse>
329 ::avro::encode(e, v.
info);
334 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
336 const std::vector<size_t> fo = rd->fieldOrder();
338 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
347 ::avro::decode(d, v.
info);
358 ::avro::decode(d, v.
info);
A set of input parameters for const.
std::map< std::string, std::string > info
std::map< std::string, std::string > options
std::map< std::string, std::string > datasinkUpdatesMap
A set of output parameters for const.
AlterDatasinkRequest(const std::string &name_, const std::map< std::string, std::string > &datasinkUpdatesMap_, const std::map< std::string, std::string > &options_)
Constructs an AlterDatasinkRequest object with the specified parameters.
std::map< std::string, std::string > updatedPropertiesMap
AlterDatasinkRequest()
Constructs an AlterDatasinkRequest object with default parameter values.
AlterDatasinkResponse()
Constructs an AlterDatasinkResponse object with default parameter values.