DbTableBulkRecordInterface.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
// minimum required Qore version
// assume local scope for variables, do not use "$" signs
// require type definitions everywhere
// enable all warnings
namespace DbDataProvider {
class DbTableBulkRecordInterface : public AbstractDataProviderBulkRecordInterface {
public:
private:
AbstractTable table;
AbstractSQLStatement stmt;
bool release_transaction;
public:
constructor(int block_size, AbstractTable table, *hash<auto> where_cond, *hash<auto> search_options)
;
destructor();
keepTransactionLock();
protected:
hash<string, list<auto>> getValueImpl();
public:
*hash<string, AbstractDataField> getRecordType();
};
};
DbDataProvider::DbTableBulkRecordInterface::getRecordType
*hash< string, AbstractDataField > getRecordType()
Returns the record description, if available.
DbDataProvider::DbTableBulkRecordInterface::destructor
destructor()
rolls back the transaction if a transaction lock was acquired in the constructor and keepTransactionL...
DbDataProvider::DbTableBulkRecordInterface::keepTransactionLock
keepTransactionLock()
Ensures that no rollback is performed when the object is destroyed.
DbDataProvider::DbTableBulkRecordInterface::getValueImpl
hash< string, list< auto > > getValueImpl()
Returns a hash of lists according to the block size.
DbDataProvider::DbTableBulkRecordInterface::stmt
AbstractSQLStatement stmt
the statement being iterated
Definition: DbTableBulkRecordInterface.qc.dox.h:42
DbDataProvider::DbTableBulkRecordInterface::table
AbstractTable table
The table being iterated.
Definition: DbTableBulkRecordInterface.qc.dox.h:39
DbDataProvider::DbTableBulkRecordInterface
Defines the record iterator class for Table-based iterators.
Definition: DbTableBulkRecordInterface.qc.dox.h:34
DbDataProvider::DbTableBulkRecordInterface::constructor
constructor(int block_size, AbstractTable table, *hash< auto > where_cond, *hash< auto > search_options)
creates the iterator
DbDataProvider::DbTableBulkRecordInterface::release_transaction
bool release_transaction
release the transaction with a rollback in the destructor?
Definition: DbTableBulkRecordInterface.qc.dox.h:45
DbDataProvider
Qore AbstractDbRecordIterator class definition.
Definition: AbstractDbRecordIterator.qc.dox.h:32