| Qore DataProvider Module Reference 1.2.1

DataProviderBulkRecordIterator.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3
25 // assume local scope for variables, do not use "$" signs
26 // require type definitions everywhere
28 // enable all warnings
29
31 namespace DataProvider {
33 class DataProviderBulkRecordIterator : public AbstractDataProviderRecordIterator {
34
35 public:
36 protected:
38 AbstractDataProviderBulkRecordInterface bulk;
39
41 HashListIterator i;
42
44 bool valid = True;
45
46 public:
47
49 constructor(AbstractDataProviderBulkRecordInterface bulk);
50
51
53
55 bool supportsBulkApi();
56
57
59
61 *AbstractDataProviderBulkRecordInterface getBulkApi();
62
63
65
67 bool valid();
68
69
71
86 bool next();
87
88
90
94 hash<auto> getValue();
95
96
98
100 *hash<string, AbstractDataField> getRecordType();
101
102 };
103 };
DataProvider::DataProviderBulkRecordIterator::constructor
constructor(AbstractDataProviderBulkRecordInterface bulk)
Creates the object.
DataProvider::DataProviderBulkRecordIterator::next
bool next()
Moves the current position to the next element; returns False if there are no more elements...
DataProvider::AbstractDataProviderRecordIterator
Defines the abstract class for data provider iterators; the destructor releases the iterator...
Definition: AbstractDataProviderRecordIterator.qc.dox.h:33
DataProvider::DataProviderBulkRecordIterator::i
HashListIterator i
The current iterator for the current block.
Definition: DataProviderBulkRecordIterator.qc.dox.h:41
True
const True
DataProvider::DataProviderBulkRecordIterator::bulk
AbstractDataProviderBulkRecordInterface bulk
The bulk iterator object.
Definition: DataProviderBulkRecordIterator.qc.dox.h:38
DataProvider::DataProviderBulkRecordIterator::getBulkApi
*AbstractDataProviderBulkRecordInterface getBulkApi()
Returns the bulk data interface.
DataProvider::DataProviderBulkRecordIterator::valid
bool valid()
returns True if the iterator is currently pointing at a valid element, False if not ...
DataProvider::DataProviderBulkRecordIterator::getValue
hash< auto > getValue()
Retrieves the next record if the iterator is valid.
DataProvider::AbstractDataProviderBulkRecordInterface
Defines the abstract class for data provider iterators; the destructor releases the iterator...
Definition: AbstractDataProviderBulkRecordInterface.qc.dox.h:33
DataProvider::DataProviderBulkRecordIterator::supportsBulkApi
bool supportsBulkApi()
Returns True as the iterator supports bulk operation.
DataProvider::DataProviderBulkRecordIterator
Defines the standard record iterator for bulk record iterators.
Definition: DataProviderBulkRecordIterator.qc.dox.h:33
DataProvider
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:27
DataProvider::DataProviderBulkRecordIterator::getRecordType
*hash< string, AbstractDataField > getRecordType()
Returns the record description, if available.