29 options(std::map<std::string, std::string>())
45 GetJobRequest(
const int64_t jobId_,
const std::map<std::string, std::string>& options_):
52 std::map<std::string, std::string>
options;
58 template<>
struct codec_traits<gpudb::GetJobRequest>
62 ::avro::encode(e, v.
jobId);
68 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
70 const std::vector<size_t> fo = rd->fieldOrder();
72 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
77 ::avro::decode(d, v.
jobId);
91 ::avro::decode(d, v.
jobId);
125 statusMap(std::map<std::string, std::string>()),
126 info(std::map<std::string, std::string>())
139 std::map<std::string, std::string>
info;
145 template<>
struct codec_traits<gpudb::GetJobResponse>
158 ::avro::encode(e, v.
info);
163 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
165 const std::vector<size_t> fo = rd->fieldOrder();
167 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
208 ::avro::decode(d, v.
info);
227 ::avro::decode(d, v.
info);
GetJobRequest()
Constructs a GetJobRequest object with default parameter values.
std::string jobResponseStr
std::string responseEncoding
std::map< std::string, std::string > options
GetJobRequest(const int64_t jobId_, const std::map< std::string, std::string > &options_)
Constructs a GetJobRequest object with the specified parameters.
std::vector< uint8_t > jobResponse
std::map< std::string, std::string > info
std::map< std::string, std::string > statusMap
A set of input parameters for const.
GetJobResponse()
Constructs a GetJobResponse object with default parameter values.
A set of output parameters for const.