6 #ifndef __ALTER_DATASINK_H__ 7 #define __ALTER_DATASINK_H__ 27 options(std::map<std::string, std::string>())
422 AlterDatasinkRequest(
const std::string& name_,
const std::map<std::string, std::string>& datasinkUpdatesMap_,
const std::map<std::string, std::string>& options_):
668 template<>
struct codec_traits<
gpudb::AlterDatasinkRequest>
672 ::avro::encode(e, v.
name);
679 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
681 const std::vector<size_t> fo = rd->fieldOrder();
683 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
688 ::avro::decode(d, v.
name);
706 ::avro::decode(d, v.
name);
728 info(std::map<std::string, std::string>())
740 std::map<std::string, std::string>
info;
746 template<>
struct codec_traits<
gpudb::AlterDatasinkResponse>
751 ::avro::encode(e, v.
info);
756 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
758 const std::vector<size_t> fo = rd->fieldOrder();
760 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
769 ::avro::decode(d, v.
info);
780 ::avro::decode(d, v.
info);
786 #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.