Functions | |
std::vector< std::vector< std::pair< QueryRecord::Attr, std::string > > > | ServerConnection::getIndexedAttrs (void) |
void | ServerConnection::queryEvents (const std::vector< QueryRecord > &job_cond, const std::vector< QueryRecord > &event_cond, std::vector< Event > &events) const |
These methods serve for obtaining data from the bookkeeping server. The L&B service queries come in two flavors:
(cond1) or (cond2)
( (cond1) or (cond2) ) and ( (cond3) or (cond4) )
Methods for both query flavors are provided.
|
Retrieve the set of single indexed attributes. Returns the set of attributes that are indexed on the server. Every query must contain at least one indexed attribute for performance reason; exception to this rule requires setting appropriate paramater on the server and is not advised.
In the vector returned, outer elements correspond to indices, inner vector elements correspond to index columns. If |
|
Retrieve all events satisfying the query records. Returns all events belonging to the jobs specified by
|