Qore DataProvider Module Reference 2.7.5
Loading...
Searching...
No Matches
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
31namespace DataProvider {
34
35public:
36protected:
39
41 HashListIterator i;
42
44 bool valid = True;
45
46public:
47
50
51
53
56
57
59
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};
Defines the abstract class for data provider iterators; the destructor releases the iterator.
Definition: AbstractDataProviderBulkRecordInterface.qc.dox.h:33
Defines the abstract class for data provider iterators; the destructor releases the iterator.
Definition: AbstractDataProviderRecordIterator.qc.dox.h:339
Defines the standard record iterator for bulk record iterators.
Definition: DataProviderBulkRecordIterator.qc.dox.h:33
bool supportsBulkApi()
Returns True as the iterator supports bulk operation.
*AbstractDataProviderBulkRecordInterface getBulkApi()
Returns the bulk data interface.
AbstractDataProviderBulkRecordInterface bulk
The bulk iterator object.
Definition: DataProviderBulkRecordIterator.qc.dox.h:38
*hash< string, AbstractDataField > getRecordType()
Returns the record description, if available.
bool valid()
returns True if the iterator is currently pointing at a valid element, False if not
HashListIterator i
The current iterator for the current block.
Definition: DataProviderBulkRecordIterator.qc.dox.h:41
bool valid
Valid flag.
Definition: DataProviderBulkRecordIterator.qc.dox.h:44
hash< auto > getValue()
Retrieves the next record if the iterator is valid.
constructor(AbstractDataProviderBulkRecordInterface bulk)
Creates the object.
bool next()
Moves the current position to the next element; returns False if there are no more elements.
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:27