6 #ifndef __SHOW_SQL_PROC_H__ 7 #define __SHOW_SQL_PROC_H__ 26 options(std::map<std::string, std::string>())
62 ShowSqlProcRequest(
const std::string& procedureName_,
const std::map<std::string, std::string>& options_):
95 std::map<std::string, std::string>
options;
101 template<>
struct codec_traits<
gpudb::ShowSqlProcRequest>
111 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
113 const std::vector<size_t> fo = rd->fieldOrder();
115 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
156 additionalInfo(std::vector<std::map<std::string, std::string> >()),
157 info(std::map<std::string, std::string>())
194 std::map<std::string, std::string>
info;
200 template<>
struct codec_traits<
gpudb::ShowSqlProcResponse>
207 ::avro::encode(e, v.
info);
212 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
214 const std::vector<size_t> fo = rd->fieldOrder();
216 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
233 ::avro::decode(d, v.
info);
246 ::avro::decode(d, v.
info);
252 #endif // __SHOW_SQL_PROC_H__ std::map< std::string, std::string > info
Additional information.
ShowSqlProcRequest()
Constructs a ShowSqlProcRequest object with default parameters.
A set of results returned by GPUdb::showSqlProc.
std::string procedureName
Name of the procedure for which to retrieve the information.
std::vector< std::string > procedureDefinitions
A list of the definitions for the requested procedures.
A set of parameters for GPUdb::showSqlProc.
std::vector< std::map< std::string, std::string > > additionalInfo
Additional information about the respective tables in the requested procedures.
ShowSqlProcResponse()
Constructs a ShowSqlProcResponse object with default parameters.
std::vector< std::string > procedureNames
A list of the names of the requested procedures.
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
Optional parameters.