![]() |
Qore jni Module 2.4.0
|
Java wrapper for the TableMapper::AbstractSqlStatementOutboundMapper class in Qore. More...
Public Member Methods | |
| AbstractSqlStatementOutboundMapper (QoreObject obj) | |
| creates the object as a wrapper for the Qore object | |
| void | commit () throws Throwable |
| commits the transaction and frees the Qore::SQL::AbstractDatasource transaction thread resource | |
| void | rollback () throws Throwable |
| rolls the transaction back and frees the Qore::SQL::AbstractDatasource transaction thread resource | |
| HashMap< String, Object > | getData () throws Throwable |
| Retrieve mapped data as a hash of lists. | |
| HashMap< String, Object >[] | getDataRows () throws Throwable |
| Retrieve mapped data as a list of hashes. | |
Java wrapper for the TableMapper::AbstractSqlStatementOutboundMapper class in Qore.
import qoremod.TableMapper.AbstractSqlStatementOutboundMapper;
|
inline |
Retrieve mapped data as a hash of lists.
The size of the batch is driven by the select_block option passed in the constructor.
The hash is in Qore::SQL::AbstractDatasource::select() form - meaning it is a hash with column names as keys. Values are lists of column values. This data structure is used for Qore::context statement or BulksSqlUtil operations.
|
inline |
Retrieve mapped data as a list of hashes.
Size of the batch is driven by the select_block option passed in the constructor.
List is in Qore::SQL::AbstractDatasource::selectRows() form - meaning it is a list with hashes, where every hash has column names as keys with single values as hash values.