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