Qore jni Module  1.0.1
org.qore.lang.tablemapper.InboundIdentityTableMapper Class Reference

Java wrapper for the TableMapper::InboundIdentityTableMapper class in Qore. More...

Inheritance diagram for org.qore.lang.tablemapper.InboundIdentityTableMapper:
org.qore.lang.tablemapper.InboundTableMapper org.qore.lang.mapper.Mapper org.qore.jni.QoreObjectWrapper

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 More...
 
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 More...
 
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 More...
 
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 More...
 
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 More...
 
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 More...
 
void discard () throws Throwable
 discards any buffered batched data; this method should be called after using the batch APIs (queueData()) and an error occurs More...
 
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
 
- Public Member Methods inherited from org.qore.lang.mapper.Mapper
 Mapper (QoreObject obj)
 creates the object as a wrapper for the Qore object
 
Object getRuntime (String key) throws Throwable
 get current runtime option value for a key More...
 
String getFieldName (String fname) throws Throwable
 returns a descriptive name of the given field if possible, otherwise returns the field name itself
 
HashMap< String, Object > validKeys () throws Throwable
 returns a list of valid field keys for this class (can be overridden in subclasses) More...
 
HashMap< String, Object > validTypes () throws Throwable
 returns a list of valid field types for this class (can be overridden in subclasses) More...
 
HashMap< String, Object > optionKeys () throws Throwable
 returns a list of valid constructor options for this class (can be overridden in subclasses) More...
 
HashMap< String, Object > getInputRecord () throws Throwable
 returns the value of the "input" option More...
 
HashMap< String, Object > getOutputRecord () throws Throwable
 returns the value of the "output" option More...
 
HashMap< String, Object > [] mapAll (Map< String, Object >[] recs) throws Throwable
 maps all input records and returns the mapped data as a list of output records More...
 
HashMap< String, Object > [] mapAll (Map< String, Object > recs) throws Throwable
 maps all input records and returns the mapped data as a list of output records More...
 
HashMap< String, Object > mapData (Map< String, Object > rec) throws Throwable
 processes the input record and returns a Map<String, Object> of the mapped values where the keys in the Map<String, Object> returned are the target field names; the order of the fields in the Map<String, Object> returned is the same order as the keys in the map hash. More...
 
- 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
 

Detailed Description

Java wrapper for the TableMapper::InboundIdentityTableMapper class in Qore.


The documentation for this class was generated from the following file: