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

Defines a buffered record iterator class for remote database connections; uses multiplexed I/O. More...

Inheritance diagram for RemoteDbDataProvider::RemoteDbSelectRecordIterator:
[legend]
Collaboration diagram for RemoteDbDataProvider::RemoteDbSelectRecordIterator:
[legend]

Public Member Methods

 constructor (DbRemoteBase remote, *hash< auto > where_cond, *hash< auto > search_options)
 Creates the iterator. More...
 
- Public Member Methods inherited from RemoteDbDataProvider::AbstractRemoteDbRecordIterator
 constructor (bool release_transaction, DbRemoteReceive recv)
 Creates the iterator. More...
 
 destructor ()
 Rolls back the transaction if a transaction lock was acquired in the constructor and keepTransactionLock() was not called.
 
bool valid ()
 Returns True if the iterator is valid. More...
 
bool next ()
 Increments the row pointer when retrieving rows from a select statement; returns True if there is a row to retrieve, False if not. More...
 
hash< auto > getValue ()
 Returns a single record if the iterator is valid. More...
 
 keepTransactionLock ()
 Ensures that no rollback is performed when the object is destroyed.
 
auto memberGate (string key)
 Returns the value of the given field in the current row, if the iterator is valid. More...
 

Detailed Description

Defines a buffered record iterator class for remote database connections; uses multiplexed I/O.

See also
DbRemoteReceive for more information

Member Function Documentation

◆ constructor()

RemoteDbDataProvider::RemoteDbSelectRecordIterator::constructor ( DbRemoteBase  remote,
*hash< auto >  where_cond,
*hash< auto >  search_options 
)

Creates the iterator.

Parameters
remotethe remote connection
where_condthere "where" condition hash
search_optionssearch options; assumed to have already been processed for validity before this call

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