![]() |
Qore jni Module 2.4.0
|
Java wrapper for the TableMapper::InboundIdentityTableMapper class in Qore. More...
Public Member Methods | |
| InboundIdentityTableMapper (QoreObject obj) | |
| creates the object as a wrapper for the Qore object | |
Public Member Methods inherited from org.qore.lang.tablemapper.InboundTableMapper | |
| InboundTableMapper (QoreObject obj) | |
| creates the object as a wrapper for the Qore object | |
| HashMap< String, Object > | insertRow (Map< String, Object > rec) throws Throwable |
| inserts or upserts a row into the target table based on a mapped input record; does not commit the transaction | |
| HashMap< String, Object > | queueData (Map< String, Object > rec, Map< String, Object > crec) throws Throwable |
inserts/upserts a row (or a set of rows, in case a Map<String, Object> of lists is passed) into the block buffer based on a mapped input record; the block buffer is flushed to the DB if the buffer size reaches the limit defined by the "insert_block" option; does not commit the transaction | |
| HashMap< String, Object > | queueData (Map< String, Object > rec) throws Throwable |
inserts/upserts a row (or a set of rows, in case a Map<String, Object> of lists is passed) into the block buffer based on a mapped input record; the block buffer is flushed to the DB if the buffer size reaches the limit defined by the "insert_block" option; does not commit the transaction | |
| HashMap< String, Object > | queueData (Map< String, Object >[] l, Map< String, Object > crec) throws Throwable |
inserts/upserts a set of rows (list of hashes representing input records) into the block buffer based on a mapped input record; the block buffer is flushed to the DB if the buffer size reaches the limit defined by the "insert_block" option; does not commit the transaction | |
| HashMap< String, Object > | queueData (Map< String, Object >[] l) throws Throwable |
inserts/upserts a set of rows (list of hashes representing input records) into the block buffer based on a mapped input record; the block buffer is flushed to the DB if the buffer size reaches the limit defined by the "insert_block" option; does not commit the transaction | |
| HashMap< String, Object > | flush () throws Throwable |
| flushes any remaining batched data to the database; this method should always be called before committing the transaction or destroying the object | |
| void | discard () throws Throwable |
| discards any buffered batched data; this method should be called after using the batch APIs (queueData()) and an error occurs | |
| HashMap< String, Object >[] | getReturning () throws Throwable |
| returns a list argument for the SqlUtil "returning" option, if applicable | |
| void | commit () throws Throwable |
| flushes any queued data and commits the transaction | |
| void | rollback () throws Throwable |
| discards any queued data and rolls back the transaction | |
| String | getTableName () throws Throwable |
| returns the table name | |
| AbstractTable | getTable () throws Throwable |
| returns the underlying org.qore.lang.sqlutil.AbstractTable object | |
| AbstractDatasource | getDatasource () throws Throwable |
| returns the org.qore.lang.AbstractDatasource object associated with this object | |
Java wrapper for the TableMapper::InboundIdentityTableMapper class in Qore.
import qoremod.TableMapper.InboundIdentityTableMapper;