![]() |
Qore DataProvider Module Reference
1.0
|
Defines the abstract class for data provider iterators; the destructor releases the iterator. More...

Public Member Functions | |
| abstract hash< auto > | getValue () |
| returns a single record if the iterator is valid More... | |
Protected Member Functions | |
| auto | doMemberGate (string key) |
| Returns the value of the given field in the current record, if the iterator is valid. More... | |
Static Protected Member Functions | |
| static bool | matchGeneric (hash< auto > record, *hash< auto > where_cond) |
| Checks if the current record matches the search criteria. More... | |
| static bool | matchGenericValue (auto expects, auto val) |
| Match a single value. More... | |
Defines the abstract class for data provider iterators; the destructor releases the iterator.
|
protected |
Returns the value of the given field in the current record, if the iterator is valid.
| key | the name of the field |
| FIELD-ERROR | invalid or unknown field name |
|
pure virtual |
returns a single record if the iterator is valid
| INVALID-ITERATOR | the iterator is not pointing at a valid element |
Implemented in DataProvider::DefaultRecordIterator.
|
staticprotected |
Checks if the current record matches the search criteria.
in case of a hash value, a recursive partial match with only the keys given in the value to be checked is performed
|
staticprotected |
Match a single value.
in case of a hash value, a recursive partial match with only the keys given in the value to be checked is performed