Qore DataProvider Module Reference  1.0.3
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 };
DataProvider::AbstractDataProviderBulkRecordInterface::valid
bool valid
Valid flag.
Definition: AbstractDataProviderBulkRecordInterface.qc.dox.h:41
DataProvider::AbstractDataProviderBulkRecordInterface::getRecordIterator
AbstractDataProviderRecordIterator getRecordIterator()
Returns a standard record iterator for this bulk iterator.
DataProvider::AbstractDataProviderBulkRecordInterface::getValue
*hash< string, auto > getValue()
Returns a hash of lists (or constant values) according to the block size or NOTHING if no more data i...
DataProvider::AbstractDataProviderBulkRecordInterface::getValueImpl
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...
DataProvider::AbstractDataProviderBulkRecordInterface::block_size
int block_size
The record block size.
Definition: AbstractDataProviderBulkRecordInterface.qc.dox.h:38
DataProvider::AbstractDataProviderBulkRecordInterface::valid
bool valid()
Returns True if there are more records to return.
DataProvider::AbstractDataProviderBulkRecordInterface::constructor
constructor(int block_size)
Creates the object.
True
const True
DataProvider
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:32
DataProvider::AbstractDataProviderRecordIterator
Defines the abstract class for data provider iterators; the destructor releases the iterator.
Definition: AbstractDataProviderRecordIterator.qc.dox.h:33
DataProvider::AbstractDataProviderBulkRecordInterface::getRecordType
*hash< string, AbstractDataField > getRecordType()
Returns the record description, if available.
DataProvider::AbstractDataProviderBulkRecordInterface
Defines the abstract class for data provider iterators; the destructor releases the iterator.
Definition: AbstractDataProviderBulkRecordInterface.qc.dox.h:33
DataProvider::AbstractDataProviderBulkRecordInterface::getBlockSize
int getBlockSize()
Returns the block size.