6 #ifndef __SHOW_PROC_STATUS_H__ 7 #define __SHOW_PROC_STATUS_H__ 29 options(std::map<std::string, std::string>())
134 template<>
struct codec_traits<
gpudb::ShowProcStatusRequest>
138 ::avro::encode(e, v.
runId);
144 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
146 const std::vector<size_t> fo = rd->fieldOrder();
148 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
153 ::avro::decode(d, v.
runId);
167 ::avro::decode(d, v.
runId);
187 procNames(std::map<std::string, std::string>()),
188 params(std::map<std::string, std::map<std::string, std::string> >()),
189 binParams(std::map<std::string, std::map<std::string, std::vector<uint8_t> > >()),
191 inputColumnNames(std::map<std::string, std::map<std::string, std::vector<std::string> > >()),
193 options(std::map<std::string, std::map<std::string, std::string> >()),
195 statuses(std::map<std::string, std::map<std::string, std::string> >()),
196 messages(std::map<std::string, std::map<std::string, std::string> >()),
197 results(std::map<std::string, std::map<std::string, std::map<std::string, std::string> > >()),
198 binResults(std::map<std::string, std::map<std::string, std::map<std::string, std::vector<uint8_t> > > >()),
199 output(std::map<std::string, std::map<std::string, std::map<std::string, std::vector<std::string> > > >()),
200 timings(std::map<std::string, std::map<std::string, std::map<std::string, int64_t> > >()),
201 info(std::map<std::string, std::string>())
215 std::map<std::string, std::map<std::string, std::string> >
params;
222 std::map<std::string, std::map<std::string, std::vector<uint8_t> > >
binParams;
252 std::map<std::string, std::map<std::string, std::string> >
options;
299 std::map<std::string, std::map<std::string, std::string> >
statuses;
305 std::map<std::string, std::map<std::string, std::string> >
messages;
310 std::map<std::string, std::map<std::string, std::map<std::string, std::string> > >
results;
315 std::map<std::string, std::map<std::string, std::map<std::string, std::vector<uint8_t> > > >
binResults;
326 std::map<std::string, std::map<std::string, std::map<std::string, std::vector<std::string> > > >
output;
332 std::map<std::string, std::map<std::string, std::map<std::string, int64_t> > >
timings;
337 std::map<std::string, std::string>
info;
343 template<>
struct codec_traits<
gpudb::ShowProcStatusResponse>
348 ::avro::encode(e, v.
params);
359 ::avro::encode(e, v.
output);
361 ::avro::encode(e, v.
info);
366 if (::avro::ResolvingDecoder *rd = dynamic_cast< ::avro::ResolvingDecoder*>(&d))
368 const std::vector<size_t> fo = rd->fieldOrder();
370 for (std::vector<size_t>::const_iterator it = fo.begin(); it != fo.end(); ++it)
379 ::avro::decode(d, v.
params);
423 ::avro::decode(d, v.
output);
431 ::avro::decode(d, v.
info);
442 ::avro::decode(d, v.
params);
453 ::avro::decode(d, v.
output);
455 ::avro::decode(d, v.
info);
461 #endif // __SHOW_PROC_STATUS_H__ std::map< std::string, std::map< std::string, std::string > > statuses
Statuses for the returned run IDs, grouped by data segment ID.
A set of results returned by GPUdb::showProcStatus.
std::map< std::string, std::map< std::string, std::map< std::string, std::vector< uint8_t > > > > binResults
Binary results for the returned run IDs, grouped by data segment ID.
ShowProcStatusRequest(const std::string &runId_, const std::map< std::string, std::string > &options_)
Constructs a ShowProcStatusRequest object with the specified parameters.
std::map< std::string, std::map< std::string, std::string > > params
The string params passed to GPUdb::executeProc for the returned run IDs.
std::map< std::string, std::map< std::string, std::map< std::string, std::vector< std::string > > > > output
Output lines for the returned run IDs, grouped by data segment ID.
std::map< std::string, std::map< std::string, std::map< std::string, std::string > > > results
String results for the returned run IDs, grouped by data segment ID.
std::string runId
The run ID of a specific proc instance for which the status will be returned.
std::map< std::string, std::vector< std::string > > inputTableNames
The input table names passed to GPUdb::executeProc for the returned run IDs.
std::map< std::string, std::string > procNames
The proc names corresponding to the returned run IDs.
std::map< std::string, std::map< std::string, std::string > > options
The optional parameters passed to GPUdb::executeProc for the returned run IDs.
std::map< std::string, std::map< std::string, std::string > > messages
Messages containing additional status information for the returned run IDs, grouped by data segment I...
ShowProcStatusRequest()
Constructs a ShowProcStatusRequest object with default parameters.
std::map< std::string, std::string > options
Optional parameters.
A set of parameters for GPUdb::showProcStatus.
std::map< std::string, std::map< std::string, std::vector< std::string > > > inputColumnNames
The input column names passed to GPUdb::executeProc for the returned run IDs, supplemented with the c...
std::map< std::string, std::string > overallStatuses
Overall statuses for the returned run IDs.
std::map< std::string, std::map< std::string, std::vector< uint8_t > > > binParams
The binary params passed to GPUdb::executeProc for the returned run IDs.
std::map< std::string, std::string > info
Additional information.
std::map< std::string, std::vector< std::string > > outputTableNames
The output table names passed to GPUdb::executeProc for the returned run IDs.
std::map< std::string, std::map< std::string, std::map< std::string, int64_t > > > timings
Timing information for the returned run IDs, grouped by data segment ID.
ShowProcStatusResponse()
Constructs a ShowProcStatusResponse object with default parameters.