6 #ifndef __ALTER_DATASINK_H__ 7 #define __ALTER_DATASINK_H__ 27 options(std::map<std::string, std::string>())
419 AlterDatasinkRequest(
const std::string& name_,
const std::map<std::string, std::string>& datasinkUpdatesMap_,
const std::map<std::string, std::string>& options_):
663 template<>
struct codec_traits<
gpudb::AlterDatasinkRequest>
667 ::avro::encode(e, v.
name);
674 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
676 const std::vector<size_t> fo = rd->fieldOrder();
678 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
683 ::avro::decode(d, v.
name);
701 ::avro::decode(d, v.
name);
723 info(std::map<std::string, std::string>())
735 std::map<std::string, std::string>
info;
741 template<>
struct codec_traits<
gpudb::AlterDatasinkResponse>
746 ::avro::encode(e, v.
info);
751 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
753 const std::vector<size_t> fo = rd->fieldOrder();
755 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
764 ::avro::decode(d, v.
info);
775 ::avro::decode(d, v.
info);
781 #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.