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