6 #ifndef __EXECUTE_PROC_H__
7 #define __EXECUTE_PROC_H__
28 params(std::map<std::string, std::string>()),
29 binParams(std::map<std::string, std::vector<uint8_t> >()),
33 options(std::map<std::string, std::string>())
122 ExecuteProcRequest(
const std::string& procName_,
const std::map<std::string, std::string>& params_,
const std::map<std::string, std::vector<uint8_t> >& binParams_,
const std::vector<std::string>& inputTableNames_,
const std::map<std::string, std::vector<std::string> >& inputColumnNames_,
const std::vector<std::string>& outputTableNames_,
const std::map<std::string, std::string>& options_):
134 std::map<std::string, std::string>
params;
145 template<>
struct codec_traits<gpudb::ExecuteProcRequest>
150 ::avro::encode(e, v.
params);
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)
173 ::avro::decode(d, v.
params);
204 ::avro::decode(d, v.
params);
233 runId(std::string()),
234 info(std::map<std::string, std::string>())
239 std::map<std::string, std::string>
info;
245 template<>
struct codec_traits<gpudb::ExecuteProcResponse>
249 ::avro::encode(e, v.
runId);
250 ::avro::encode(e, v.
info);
255 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
257 const std::vector<size_t> fo = rd->fieldOrder();
259 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
264 ::avro::decode(d, v.
runId);
268 ::avro::decode(d, v.
info);
278 ::avro::decode(d, v.
runId);
279 ::avro::decode(d, v.
info);
ExecuteProcRequest()
Constructs an ExecuteProcRequest object with default parameter values.
std::map< std::string, std::string > params
A set of input parameters for const.
std::vector< std::string > outputTableNames
std::map< std::string, std::vector< uint8_t > > binParams
std::map< std::string, std::vector< std::string > > inputColumnNames
A set of output parameters for const.
std::map< std::string, std::string > options
std::vector< std::string > inputTableNames
ExecuteProcRequest(const std::string &procName_, const std::map< std::string, std::string > ¶ms_, const std::map< std::string, std::vector< uint8_t > > &binParams_, const std::vector< std::string > &inputTableNames_, const std::map< std::string, std::vector< std::string > > &inputColumnNames_, const std::vector< std::string > &outputTableNames_, const std::map< std::string, std::string > &options_)
Constructs an ExecuteProcRequest object with the specified parameters.
ExecuteProcResponse()
Constructs an ExecuteProcResponse object with default parameter values.
std::map< std::string, std::string > info