| Qore DbDataProvider Module Reference 2.2

Loading...
Searching...
No Matches
DbTableBulkRecordInterface.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
24
26 namespace DbDataProvider {
28 class DbTableBulkRecordInterface : public AbstractDataProviderBulkRecordInterface {
29
30 public:
31 private:
33 AbstractTable table;
34
36 AbstractSQLStatement stmt;
37
39 bool release_transaction;
40
41 public:
42
44
49 constructor(int block_size, AbstractTable table, *hash<auto> where_cond, *hash<auto> search_options) ;
50
51
53 destructor();
54
55
57 keepTransactionLock();
58
59
61
66 protected:
67 hash<string, list<auto>> getValueImpl();
68 public:
69
70
72
74 *hash<string, AbstractDataField> getRecordType();
75
76};
77};
DbDataProvider::DbTableBulkRecordInterface
Defines the record iterator class for Table-based iterators.
Definition DbTableBulkRecordInterface.qc.dox.h:28
DbDataProvider::DbTableBulkRecordInterface::destructor
destructor()
rolls back the transaction if a transaction lock was acquired in the constructor and keepTransactionL...
DbDataProvider::DbTableBulkRecordInterface::constructor
constructor(int block_size, AbstractTable table, *hash< auto > where_cond, *hash< auto > search_options)
creates the iterator
DbDataProvider::DbTableBulkRecordInterface::getValueImpl
hash< string, list< auto > > getValueImpl()
Returns a hash of lists according to the block size.
DbDataProvider::DbTableBulkRecordInterface::getRecordType
*hash< string, AbstractDataField > getRecordType()
Returns the record description, if available.
DbDataProvider::DbTableBulkRecordInterface::release_transaction
bool release_transaction
release the transaction with a rollback in the destructor?
Definition DbTableBulkRecordInterface.qc.dox.h:39
DbDataProvider::DbTableBulkRecordInterface::table
AbstractTable table
The table being iterated.
Definition DbTableBulkRecordInterface.qc.dox.h:33
DbDataProvider::DbTableBulkRecordInterface::keepTransactionLock
keepTransactionLock()
Ensures that no rollback is performed when the object is destroyed.
DbDataProvider::DbTableBulkRecordInterface::stmt
AbstractSQLStatement stmt
the statement being iterated
Definition DbTableBulkRecordInterface.qc.dox.h:36
DbDataProvider
Qore AbstractDbRecordIterator class definition.
Definition AbstractDbRecordIterator.qc.dox.h:26