![]() |
Qore jni Module 2.4.0
|
Java wrapper for the DataProvider::AbstractDataProviderBulkOperation in Qore. More...
Public Member Methods | |
| AbstractDataProviderBulkOperation (QoreObject obj) throws Throwable | |
| creates the object as a wrapper for the Qore object | |
| void | commit () throws Throwable |
| Commits data written to the data provider. | |
| void | rollback () throws Throwable |
| Rolls back data written to the data provider. | |
| void | queueData (Map< String, Object > record) throws Throwable |
| Queues data in the buffer. | |
| void | queueData (Map< String, Object > records[]) throws Throwable |
| Queues data in the buffer. | |
| void | flush () throws Throwable |
| Flushes any remaining data to the data provider. | |
| void | discard () throws Throwable |
| Discards any buffered data. | |
Public Member Methods inherited from org.qore.lang.AbstractIterator | |
| AbstractIterator (QoreObject obj) throws Throwable | |
| creates the object as a wrapper for the Qore object | |
| boolean | next () throws Throwable |
| Moves the current position to the next element; returns False if there are no more elements. | |
| Object | getValue () throws Throwable |
| returns the current value | |
| boolean | valid () throws Throwable |
| returns true if the iterator is currently pointing at a valid element, false if not | |
Java wrapper for the DataProvider::AbstractDataProviderBulkOperation in Qore.
import qoremod.DataProvider.AbstractDataProviderBulkOperation;
|
inline |
Commits data written to the data provider.
Has no effect if the data provider does not support transaction management
|
inline |
Discards any buffered data.
This method should be called before rolling back the transaction (if the data provider supports transaction management) or destroying the object if an error occurs
|
inline |
Flushes any remaining data to the data provider.
This method should always be called before committing the transaction (if the data provider supports transaction management) or destroying the object
|
inline |
Rolls back data written to the data provider.
Has no effect if the data provider does not support transaction management