6 #ifndef __ADMIN_SHOW_JOBS_H__
7 #define __ADMIN_SHOW_JOBS_H__
26 options(std::map<std::string, std::string>())
56 std::map<std::string, std::string>
options;
62 template<>
struct codec_traits<gpudb::AdminShowJobsRequest>
71 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
73 const std::vector<size_t> fo = rd->fieldOrder();
75 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
113 jobId(std::vector<int64_t>()),
114 status(std::vector<std::string>()),
117 authId(std::vector<std::string>()),
118 sourceIp(std::vector<std::string>()),
119 userData(std::vector<std::string>()),
120 info(std::map<std::string, std::string>())
131 std::map<std::string, std::string>
info;
137 template<>
struct codec_traits<gpudb::AdminShowJobsResponse>
141 ::avro::encode(e, v.
jobId);
142 ::avro::encode(e, v.
status);
145 ::avro::encode(e, v.
authId);
148 ::avro::encode(e, v.
info);
153 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
155 const std::vector<size_t> fo = rd->fieldOrder();
157 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
162 ::avro::decode(d, v.
jobId);
166 ::avro::decode(d, v.
status);
178 ::avro::decode(d, v.
authId);
190 ::avro::decode(d, v.
info);
200 ::avro::decode(d, v.
jobId);
201 ::avro::decode(d, v.
status);
204 ::avro::decode(d, v.
authId);
207 ::avro::decode(d, v.
info);
std::vector< std::string > status
std::map< std::string, std::string > info
std::vector< std::string > userData
AdminShowJobsRequest()
Constructs an AdminShowJobsRequest object with default parameter values.
std::vector< std::string > authId
std::vector< std::string > sourceIp
std::vector< std::string > endpointName
std::vector< int64_t > timeReceived
A set of output parameters for const.
AdminShowJobsResponse()
Constructs an AdminShowJobsResponse object with default parameter values.
AdminShowJobsRequest(const std::map< std::string, std::string > &options_)
Constructs an AdminShowJobsRequest object with the specified parameters.
A set of input parameters for const.
std::vector< int64_t > jobId
std::map< std::string, std::string > options