6 #ifndef __SHOW_DATASINK_H__
7 #define __SHOW_DATASINK_H__
29 options(std::map<std::string, std::string>())
51 std::map<std::string, std::string>
options;
57 template<>
struct codec_traits<gpudb::ShowDatasinkRequest>
61 ::avro::encode(e, v.
name);
67 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
69 const std::vector<size_t> fo = rd->fieldOrder();
71 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
76 ::avro::decode(d, v.
name);
90 ::avro::decode(d, v.
name);
118 additionalInfo(std::vector<std::map<std::string, std::string> >()),
119 info(std::map<std::string, std::string>())
126 std::map<std::string, std::string>
info;
132 template<>
struct codec_traits<gpudb::ShowDatasinkResponse>
139 ::avro::encode(e, v.
info);
144 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
146 const std::vector<size_t> fo = rd->fieldOrder();
148 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
165 ::avro::decode(d, v.
info);
178 ::avro::decode(d, v.
info);
ShowDatasinkRequest(const std::string &name_, const std::map< std::string, std::string > &options_)
Constructs a ShowDatasinkRequest object with the specified parameters.
ShowDatasinkResponse()
Constructs a ShowDatasinkResponse object with default parameter values.
std::vector< std::string > destinationTypes
std::vector< std::string > datasinkNames
A set of input parameters for const.
ShowDatasinkRequest()
Constructs a ShowDatasinkRequest object with default parameter values.
std::map< std::string, std::string > info
std::vector< std::map< std::string, std::string > > additionalInfo
std::map< std::string, std::string > options
A set of output parameters for const.