Qore MewsRestDataProvider Module Reference 1.0
Loading...
Searching...
No Matches
MewsTableBulkRecordInterface.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
26namespace MewsRestDataProvider {
28class MewsTableBulkRecordInterface : public DataProvider::AbstractDataProviderBulkRecordInterface {
29
30public:
31private:
33 DataProvider::AbstractDataProvider prov;
34
36 hash<auto> req;
37
39 string key;
40
42 hash<string, AbstractDataField> record_type;
43
45 *hash<auto> search_options;
46
48 Qore::AbstractIterator i;
49
51 string cursor;
52
54 bool done;
55
57 int count = 0;
58
59public:
60
62
69 constructor(int block_size, DataProvider::AbstractDataProvider prov, hash<auto> req, string key, hash<string, AbstractDataField> record_type, *hash<auto> where_cond, *hash<auto> search_options)
70 ;
71
72
74
78protected:
79 hash<string, list<auto>> getValueImpl();
80public:
81
82
84
86 *hash<string, AbstractDataField> getRecordType();
87
88};
89};
Defines the record iterator class for table-based iterators.
Definition MewsTableBulkRecordInterface.qc.dox.h:28
constructor(int block_size, DataProvider::AbstractDataProvider prov, hash< auto > req, string key, hash< string, AbstractDataField > record_type, *hash< auto > where_cond, *hash< auto > search_options)
creates the iterator
string cursor
Current cursor value.
Definition MewsTableBulkRecordInterface.qc.dox.h:51
bool done
Done flag.
Definition MewsTableBulkRecordInterface.qc.dox.h:54
hash< string, list< auto > > getValueImpl()
Returns a hash of lists according to the block size.
hash< string, AbstractDataField > record_type
The record type.
Definition MewsTableBulkRecordInterface.qc.dox.h:42
*hash< string, AbstractDataField > getRecordType()
Returns the record description, if available.
Qore::AbstractIterator i
Current data being iterated.
Definition MewsTableBulkRecordInterface.qc.dox.h:48
*hash< auto > search_options
Search options.
Definition MewsTableBulkRecordInterface.qc.dox.h:45
hash< auto > req
The request data.
Definition MewsTableBulkRecordInterface.qc.dox.h:36
int count
Total records retrieved.
Definition MewsTableBulkRecordInterface.qc.dox.h:57
DataProvider::AbstractDataProvider prov
The abstract data provider that will provide the data to be iterated.
Definition MewsTableBulkRecordInterface.qc.dox.h:33
string key
The response key containing the data to be iterated.
Definition MewsTableBulkRecordInterface.qc.dox.h:39
Qore MewsRestDataProvider module definition.
Definition MewsRestAccountNotesTableDataProvider.qc.dox.h:26