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

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

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

Public Member Methods

 constructor (DbRemoteBase remote, string table, *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...
 

Static Public Member Methods

static private DbRemoteReceive getReceiver (DbRemoteBase remote, string table, *hash< auto > where_cond, *hash< auto > search_options)
 Creates the receiver.
 

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::RemoteDbTableRecordIterator::constructor ( DbRemoteBase  remote,
string  table,
*hash< auto >  where_cond,
*hash< auto >  search_options 
)

Creates the iterator.

Parameters
remotethe remote connection
tablethe remote table to select from
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: