6 #ifndef __ALTER_DATASINK_H__ 7 #define __ALTER_DATASINK_H__ 27 options(std::map<std::string, std::string>())
391 AlterDatasinkRequest(
const std::string& name_,
const std::map<std::string, std::string>& datasinkUpdatesMap_,
const std::map<std::string, std::string>& options_):
620 template<>
struct codec_traits<
gpudb::AlterDatasinkRequest>
624 ::avro::encode(e, v.
name);
631 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
633 const std::vector<size_t> fo = rd->fieldOrder();
635 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
640 ::avro::decode(d, v.
name);
658 ::avro::decode(d, v.
name);
680 info(std::map<std::string, std::string>())
692 std::map<std::string, std::string>
info;
698 template<>
struct codec_traits<
gpudb::AlterDatasinkResponse>
703 ::avro::encode(e, v.
info);
708 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
710 const std::vector<size_t> fo = rd->fieldOrder();
712 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
721 ::avro::decode(d, v.
info);
732 ::avro::decode(d, v.
info);
738 #endif // __ALTER_DATASINK_H__ A set of parameters for GPUdb::alterDatasink.
std::map< std::string, std::string > info
Additional information.
std::map< std::string, std::string > options
Optional parameters.
std::map< std::string, std::string > datasinkUpdatesMap
Map containing the properties of the data sink to be updated.
std::string name
Name of the data sink to be altered.
A set of results returned by GPUdb::alterDatasink.
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
Map of values updated.
AlterDatasinkRequest()
Constructs an AlterDatasinkRequest object with default parameters.
AlterDatasinkResponse()
Constructs an AlterDatasinkResponse object with default parameters.