6 #ifndef __SHOW_SQL_PROC_H__
7 #define __SHOW_SQL_PROC_H__
28 options(std::map<std::string, std::string>())
57 ShowSqlProcRequest(
const std::string& procedureName_,
const std::map<std::string, std::string>& options_):
64 std::map<std::string, std::string>
options;
70 template<>
struct codec_traits<gpudb::ShowSqlProcRequest>
80 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
82 const std::vector<size_t> fo = rd->fieldOrder();
84 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
130 additionalInfo(std::vector<std::map<std::string, std::string> >()),
131 info(std::map<std::string, std::string>())
138 std::map<std::string, std::string>
info;
144 template<>
struct codec_traits<gpudb::ShowSqlProcResponse>
151 ::avro::encode(e, v.
info);
156 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
158 const std::vector<size_t> fo = rd->fieldOrder();
160 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
177 ::avro::decode(d, v.
info);
190 ::avro::decode(d, v.
info);
std::map< std::string, std::string > info
ShowSqlProcRequest()
Constructs a ShowSqlProcRequest object with default parameter values.
A set of output parameters for const.
std::string procedureName
std::vector< std::string > procedureDefinitions
A set of input parameters for const.
std::vector< std::map< std::string, std::string > > additionalInfo
ShowSqlProcResponse()
Constructs a ShowSqlProcResponse object with default parameter values.
std::vector< std::string > procedureNames
ShowSqlProcRequest(const std::string &procedureName_, const std::map< std::string, std::string > &options_)
Constructs a ShowSqlProcRequest object with the specified parameters.
std::map< std::string, std::string > options