6 #ifndef __EXECUTE_PROC_H__ 7 #define __EXECUTE_PROC_H__ 27 params(std::map<std::string, std::string>()),
28 binParams(std::map<std::string, std::vector<uint8_t> >()),
29 options(std::map<std::string, std::string>())
57 std::map<std::string, std::string>
params;
58 std::map<std::string, std::vector<uint8_t> >
binParams;
59 std::map<std::string, std::string>
options;
69 ::avro::encode(e, v.
name);
70 ::avro::encode(e, v.
params);
77 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
79 const std::vector<size_t> fo = rd->fieldOrder();
81 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
86 ::avro::decode(d, v.
name);
90 ::avro::decode(d, v.
params);
108 ::avro::decode(d, v.
name);
109 ::avro::decode(d, v.
params);
134 results(std::map<std::string, std::string>()),
135 binResults(std::map<std::string, std::vector<uint8_t> >())
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)
ExecuteProcRequest(const std::string &name, const std::map< std::string, std::string > ¶ms, const std::map< std::string, std::vector< uint8_t > > &binParams, const std::map< std::string, std::string > &options)
Constructs an ExecuteProcRequest object with the specified parameters.
ExecuteProcRequest()
Constructs an ExecuteProcRequest object with default parameter values.
std::map< std::string, std::string > params
A set of input parameters for executeProc(const ExecuteProcRequest&) const.
std::map< std::string, std::vector< uint8_t > > binParams
std::map< std::string, std::vector< uint8_t > > binResults
std::map< std::string, std::string > results
A set of output parameters for executeProc(const ExecuteProcRequest&) const.
std::map< std::string, std::string > options
ExecuteProcResponse()
Constructs an ExecuteProcResponse object with default parameter values.