![]() |
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. | |
| Public Member Methods inherited from org.qore.lang.mapper.Mapper | |
| Mapper (QoreObject obj) | |
| Object | getRuntime (String key) throws Throwable |
| String | getFieldName (String fname) throws Throwable |
| HashMap< String, Object > | validKeys () throws Throwable |
| HashMap< String, Object > | validTypes () throws Throwable |
| HashMap< String, Object > | optionKeys () throws Throwable |
| HashMap< String, Object > | getInputRecord () throws Throwable |
| HashMap< String, Object > | getOutputRecord () throws Throwable |
| MapperOutputRecordIterator | getOutputIterator () throws Throwable |
| void | flushOutput () throws Throwable |
| void | discardOutput () throws Throwable |
| void | runAutonomous () throws Throwable |
| HashMap< String, Object >[] | mapAll (Map< String, Object >[] recs) throws Throwable |
| HashMap< String, Object >[] | mapAll (Map< String, Object > recs) throws Throwable |
| HashMap< String, Object > | mapData (Map< String, Object > rec) throws Throwable |
| Object | mapAuto (Object recs) throws Throwable |
| Hash | mapBulk (Map< String, Object > rec, Map< String, Object > crec) throws Throwable |
| Public Member Methods inherited from org.qore.jni.QoreObjectWrapper | |
| QoreObjectWrapper (QoreObject obj) | |
| creates the wrapper object with the Qore object | |
| void | release () |
| releases the Qore object; do not call any further methods on the object after this call | |
| QoreObject | getQoreObject () |
| returns the Qore object | |
| String | className () |
| returns the class name for the Qore object | |
| boolean | instanceOf (String class_name) |
| returns true if the object is an instance of the given class | |
Additional Inherited Members | |
| Private Attributes inherited from org.qore.jni.QoreObjectWrapper | |
| QoreObject | obj |
| the wrapper Qore object | |
Java wrapper for the TableMapper::AbstractSqlStatementOutboundMapper class in Qore.
|
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.