Qorus Integration Engine®  4.0.3_git
com.qoretechnologies.qorus.test.UpsertRemoteDbTableRows Class Reference

Upserts (ie performs an SQL merge operation) one or more rows into a remote table in a remote Qorus instance. More...

Inheritance diagram for com.qoretechnologies.qorus.test.UpsertRemoteDbTableRows:
com.qoretechnologies.qorus.test.Action org::qore::jni::QoreObjectWrapper

Public Member Methods

 UpsertRemoteDbTableRows (String remote, String dsname, String tableName, Map< String, Object >[] rows, Map< String, Object > opts) throws Throwable
 Creates the object according to the arguments. More...
 
 UpsertRemoteDbTableRows (String remote, String dsname, String tableName, Map< String, Object >[] rows) throws Throwable
 Creates the object according to the arguments. More...
 
Object run (QorusInterfaceTest t) throws Throwable
 runs the test by streaming the input data to the remote database More...
 

Additional Inherited Members

- Private Member Methods inherited from com.qoretechnologies.qorus.test.Action
 Action (QoreObject obj)
 protected constructor to create the wrapper object
 

Detailed Description

Upserts (ie performs an SQL merge operation) one or more rows into a remote table in a remote Qorus instance.

Constructor & Destructor Documentation

◆ UpsertRemoteDbTableRows() [1/2]

com.qoretechnologies.qorus.test.UpsertRemoteDbTableRows.UpsertRemoteDbTableRows ( String  remote,
String  dsname,
String  tableName,
Map< String, Object > []  rows,
Map< String, Object opts 
) throws Throwable
inline

Creates the object according to the arguments.

Parameters
remotethe name of the remote connection
dsnamename of the datasource
tableNamea table name
rowsa list of hashes representing row data to upsert; keys are column names; values are literal values passed to SqlUtil::AbstractTable::upsert()
optsstream options

◆ UpsertRemoteDbTableRows() [2/2]

com.qoretechnologies.qorus.test.UpsertRemoteDbTableRows.UpsertRemoteDbTableRows ( String  remote,
String  dsname,
String  tableName,
Map< String, Object > []  rows 
) throws Throwable
inline

Creates the object according to the arguments.

Parameters
remotethe name of the remote connection
dsnamethe name of the remote datasource
tableNamethe table name for the delete call
rowsa list of hashes representing row data to upsert; keys are column names; values are literal values passed to SqlUtil::AbstractTable::upsert()

Member Function Documentation

◆ run()

Object com.qoretechnologies.qorus.test.UpsertRemoteDbTableRows.run ( QorusInterfaceTest  t) throws Throwable
inline

runs the test by streaming the input data to the remote database

Parameters
tQorusInterfaceTest test object

runs the remote action with the input data


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