Qore DbDataProvider Module Reference  1.0
DbTableBulkRecordInterface.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
25 // minimum required Qore version
26 // assume local scope for variables, do not use "$" signs
27 // require type definitions everywhere
29 // enable all warnings
30 
32 namespace DbDataProvider {
34 class DbTableBulkRecordInterface : public AbstractDataProviderBulkRecordInterface {
35 
36 public:
37 private:
39  AbstractTable table;
40 
42  AbstractSQLStatement stmt;
43 
46 
47 public:
48 
50 
55  constructor(int block_size, AbstractTable table, *hash<auto> where_cond, *hash<auto> search_options)
56  ;
57 
58 
60  destructor();
61 
62 
65 
66 
68 
73 protected:
74  hash<string, list<auto>> getValueImpl();
75 public:
76 
77 
79 
81  *hash<string, AbstractDataField> getRecordType();
82 
83 };
84 };
*hash< string, AbstractDataField > getRecordType()
Returns the record description, if available.
destructor()
rolls back the transaction if a transaction lock was acquired in the constructor and keepTransactionL...
keepTransactionLock()
Ensures that no rollback is performed when the object is destroyed.
hash< string, list< auto > > getValueImpl()
Returns a hash of lists according to the block size.
AbstractSQLStatement stmt
the statement being iterated
Definition: DbTableBulkRecordInterface.qc.dox.h:42
AbstractTable table
The table being iterated.
Definition: DbTableBulkRecordInterface.qc.dox.h:39
Defines the record iterator class for Table-based iterators.
Definition: DbTableBulkRecordInterface.qc.dox.h:34
constructor(int block_size, AbstractTable table, *hash< auto > where_cond, *hash< auto > search_options)
creates the iterator
bool release_transaction
release the transaction with a rollback in the destructor?
Definition: DbTableBulkRecordInterface.qc.dox.h:45
Qore AbstractDbRecordIterator class definition.
Definition: AbstractDbRecordIterator.qc.dox.h:32