![]() |
Qore DataProvider Module Reference 3.1
|
Default bulk record interface class for data providers that do not support bulk read APIs. More...
#include <DefaultBulkRecordIterface.qc.dox.h>
Public Member Functions | |
| constructor (int block_size, AbstractDataProviderRecordIterator i) | |
| Returns an iterator for zero or more records matching the search options. | |
Public Member Functions inherited from DataProvider::AbstractDataProviderBulkRecordInterface | |
| constructor (int block_size) | |
| Creates the object. | |
| int | getBlockSize () |
| Returns the block size. | |
| AbstractDataProviderRecordIterator | getRecordIterator () |
| Returns a standard record iterator for this bulk iterator. | |
| *hash< string, AbstractDataField > | getRecordType () |
| Returns the record description, if available. | |
| *hash< string, auto > | getValue () |
| Returns a hash of lists (or constant values) according to the block size or nothing if no more data is available. | |
| bool | valid () |
| Returns True if there are more records to return. | |
Protected Member Functions | |
| hash< string, list< auto > > | getValueImpl () |
| Returns a hash of lists according to the block size. | |
Protected Member Functions inherited from DataProvider::AbstractDataProviderBulkRecordInterface | |
| abstract hash< string, auto > | getValueImpl () |
| Returns a hash of lists (or constant values) according to the block size or nothing if no more data is available. | |
Additional Inherited Members | |
Protected Attributes inherited from DataProvider::AbstractDataProviderBulkRecordInterface | |
| int | block_size |
| The record block size. | |
| bool | valid = True |
| Valid flag. | |
Default bulk record interface class for data providers that do not support bulk read APIs.
| DataProvider::DefaultBulkRecordIterface::constructor | ( | int | block_size, |
| AbstractDataProviderRecordIterator | i ) |
Returns an iterator for zero or more records matching the search options.
| block_size | the record block size to use |
| i | the iterator to use |
|
protected |
Returns a hash of lists according to the block size.
| INVALID-ITERATOR | the iterator is not pointing at a valid element |