DataProviderBulkRecordIterator.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
// assume local scope for variables, do not use "$" signs
// require type definitions everywhere
// enable all warnings
namespace DataProvider {
class DataProviderBulkRecordIterator : public AbstractDataProviderRecordIterator {
public:
protected:
AbstractDataProviderBulkRecordInterface bulk;
HashListIterator i;
bool valid = True;
public:
constructor(AbstractDataProviderBulkRecordInterface bulk);
bool supportsBulkApi();
*AbstractDataProviderBulkRecordInterface getBulkApi();
bool valid();
bool next();
hash<auto> getValue();
*hash<string, AbstractDataField> getRecordType();
};
};
DataProvider::DataProviderBulkRecordIterator::constructor
constructor(AbstractDataProviderBulkRecordInterface bulk)
Creates the object.
DataProvider::DataProviderBulkRecordIterator::next
bool next()
Moves the current position to the next element; returns False if there are no more elements...
DataProvider::AbstractDataProviderRecordIterator
Defines the abstract class for data provider iterators; the destructor releases the iterator...
Definition: AbstractDataProviderRecordIterator.qc.dox.h:33
DataProvider::DataProviderBulkRecordIterator::i
HashListIterator i
The current iterator for the current block.
Definition: DataProviderBulkRecordIterator.qc.dox.h:41
True
const True
DataProvider::DataProviderBulkRecordIterator::bulk
AbstractDataProviderBulkRecordInterface bulk
The bulk iterator object.
Definition: DataProviderBulkRecordIterator.qc.dox.h:38
DataProvider::DataProviderBulkRecordIterator::getBulkApi
*AbstractDataProviderBulkRecordInterface getBulkApi()
Returns the bulk data interface.
DataProvider::DataProviderBulkRecordIterator::valid
bool valid()
returns True if the iterator is currently pointing at a valid element, False if not ...
DataProvider::DataProviderBulkRecordIterator::getValue
hash< auto > getValue()
Retrieves the next record if the iterator is valid.
DataProvider::AbstractDataProviderBulkRecordInterface
Defines the abstract class for data provider iterators; the destructor releases the iterator...
Definition: AbstractDataProviderBulkRecordInterface.qc.dox.h:33
DataProvider::DataProviderBulkRecordIterator::supportsBulkApi
bool supportsBulkApi()
Returns True as the iterator supports bulk operation.
DataProvider::DataProviderBulkRecordIterator
Defines the standard record iterator for bulk record iterators.
Definition: DataProviderBulkRecordIterator.qc.dox.h:33
DataProvider
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:32
DataProvider::DataProviderBulkRecordIterator::getRecordType
*hash< string, AbstractDataField > getRecordType()
Returns the record description, if available.