29 options(std::map<std::string, std::string>())
41 GetJobRequest(
const int64_t jobId_,
const std::map<std::string, std::string>& options_):
48 std::map<std::string, std::string>
options;
54 template<>
struct codec_traits<gpudb::GetJobRequest>
58 ::avro::encode(e, v.
jobId);
64 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
66 const std::vector<size_t> fo = rd->fieldOrder();
68 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
73 ::avro::decode(d, v.
jobId);
87 ::avro::decode(d, v.
jobId);
121 statusMap(std::map<std::string, std::string>()),
122 info(std::map<std::string, std::string>())
135 std::map<std::string, std::string>
info;
141 template<>
struct codec_traits<gpudb::GetJobResponse>
154 ::avro::encode(e, v.
info);
159 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
161 const std::vector<size_t> fo = rd->fieldOrder();
163 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
204 ::avro::decode(d, v.
info);
223 ::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.