Qore DataProvider Module Reference  2.5
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 
71  __7_ hash<string, auto> getValue();
72 
73 
75 
78 
79 
81 
83  __7_ hash<string, AbstractDataField> getRecordType();
84 
85 
87 
97 protected:
98  abstract hash<string, auto> getValueImpl();
99 public:
100 };
101 };
Defines the abstract class for data provider iterators; the destructor releases the iterator.
Definition: AbstractDataProviderBulkRecordInterface.qc.dox.h:33
bool valid
Valid flag.
Definition: AbstractDataProviderBulkRecordInterface.qc.dox.h:41
__7_ hash< string, auto > getValue()
Returns a hash of lists (or constant values) according to the block size or NOTHING if no more data i...
abstract hash< string, auto > getValueImpl()
Returns a hash of lists (or constant values) according to the block size or NOTHING if no more data i...
bool valid()
Returns True if there are more records to return.
AbstractDataProviderRecordIterator getRecordIterator()
Returns a standard record iterator for this bulk iterator.
constructor(int block_size)
Creates the object.
int block_size
The record block size.
Definition: AbstractDataProviderBulkRecordInterface.qc.dox.h:38
__7_ hash< string, AbstractDataField > getRecordType()
Returns the record description, if available.
Defines the abstract class for data provider iterators; the destructor releases the iterator.
Definition: AbstractDataProviderRecordIterator.qc.dox.h:339
const True
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:27