Qorus Integration Engine® Community Edition 6.0.0_dev
Loading...
Searching...
No Matches
RemoteDbDataProvider::RemoteDbSelectBulkRecordInterface Class Reference

Defines the record iterator class for Table-based iterators. More...

Inherits AbstractDataProviderBulkRecordInterface.

Public Member Methods

 constructor (DbRemoteBase remote, int block_size, *hash< auto > where_cond, *hash< auto > search_options)
 creates the iterator More...
 
 destructor ()
 rolls back the transaction if a transaction lock was acquired in the constructor and keepTransactionLock() was not called
 
 keepTransactionLock ()
 Ensures that no rollback is performed when the object is destroyed.
 

Private Member Methods

hash< string, list< auto > > getValueImpl ()
 Returns a hash of lists according to the block size. More...
 

Private:Internal Attributes

DbRemoteReceive recv
 the remote select stream
 
bool release_transaction
 release the transaction with a rollback in the destructor?
 

Detailed Description

Defines the record iterator class for Table-based iterators.

Member Function Documentation

◆ constructor()

RemoteDbDataProvider::RemoteDbSelectBulkRecordInterface::constructor ( DbRemoteBase  remote,
int  block_size,
*hash< auto >  where_cond,
*hash< auto >  search_options 
)

creates the iterator

Parameters
remotethe remote connection
block_sizethe number of records in a read block; must be a positive number; will override any block value in search_options
where_condthe search criteria; will be processed by processFieldValues()
search_optionssearch options; assumed to have already been processed for validity before this call

◆ getValueImpl()

hash< string, list< auto > > RemoteDbDataProvider::RemoteDbSelectBulkRecordInterface::getValueImpl ( )
private

Returns a hash of lists according to the block size.

Exceptions
INVALID-ITERATORthe iterator is not pointing at a valid element
Note
This call moves the internal record pointer forward, therefore multiple calls of this methods will return different results as long as data is available

The documentation for this class was generated from the following file: