Qore DataProvider Module Reference  1.0
AbstractDataProviderBulkRecordInterface.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  bool valid = True;
42 
43 public:
44 
46 
49 
50 
52  int getBlockSize();
53 
54 
56  bool valid();
57 
58 
60 
65  *hash<string, list<auto>> getValue();
66 
67 
69 
74 protected:
75  abstract hash<string, list<auto>> getValueImpl();
76 public:
77 };
78 };
*hash< string, list< auto > > getValue()
Returns a hash of lists according to the block size or NOTHING if no more data is available.
int block_size
The record block size.
Definition: AbstractDataProviderBulkRecordInterface.qc.dox.h:38
const True
bool valid()
Returns True if there are more records to return.
Defines the abstract class for data provider iterators; the destructor releases the iterator.
Definition: AbstractDataProviderBulkRecordInterface.qc.dox.h:33
constructor(int block_size)
Creates the object.
abstract hash< string, list< auto > > getValueImpl()
Returns a hash of lists according to the block size.
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:32