6 #ifndef __DROP_DATASINK_H__
7 #define __DROP_DATASINK_H__
34 options(std::map<std::string, std::string>())
68 std::map<std::string, std::string>
options;
74 template<>
struct codec_traits<gpudb::DropDatasinkRequest>
78 ::avro::encode(e, v.
name);
84 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
86 const std::vector<size_t> fo = rd->fieldOrder();
88 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
93 ::avro::decode(d, v.
name);
107 ::avro::decode(d, v.
name);
139 info(std::map<std::string, std::string>())
144 std::map<std::string, std::string>
info;
150 template<>
struct codec_traits<gpudb::DropDatasinkResponse>
154 ::avro::encode(e, v.
name);
155 ::avro::encode(e, v.
info);
160 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
162 const std::vector<size_t> fo = rd->fieldOrder();
164 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
169 ::avro::decode(d, v.
name);
173 ::avro::decode(d, v.
info);
183 ::avro::decode(d, v.
name);
184 ::avro::decode(d, v.
info);
std::map< std::string, std::string > options
DropDatasinkRequest(const std::string &name_, const std::map< std::string, std::string > &options_)
Constructs a DropDatasinkRequest object with the specified parameters.
A set of output parameters for const.
A set of input parameters for const.
std::map< std::string, std::string > info
DropDatasinkRequest()
Constructs a DropDatasinkRequest object with default parameter values.
DropDatasinkResponse()
Constructs a DropDatasinkResponse object with default parameter values.