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>())
117 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_):
129 std::map<std::string, std::string>
params;
145 ::avro::encode(e, v.
params);
155 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
157 const std::vector<size_t> fo = rd->fieldOrder();
159 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
168 ::avro::decode(d, v.
params);
199 ::avro::decode(d, v.
params);
242 ::avro::encode(e, v.
runId);
247 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
249 const std::vector<size_t> fo = rd->fieldOrder();
251 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
256 ::avro::decode(d, v.
runId);
266 ::avro::decode(d, v.
runId);
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::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 executeProc(const ExecuteProcRequest&) 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.