Qorus Integration Engine® Enterprise Edition 7.0.0_prod
|
Bulk insert object for remote tables; uses multiplexed I/O. More...
Public Member Methods | |
constructor (RemoteDbTableDataProvider provider, DbRemoteBase remote, string table, string stream, *hash< auto > opts) | |
Creates the object. | |
queueData (hash< auto > record) | |
Queues data in the buffer. | |
queueData (list< hash< auto > > records) | |
Queues data in the buffer. | |
flush () | |
Flushes any remaining data to the data provider. | |
discard () | |
Discards any buffered data. | |
Bulk insert object for remote tables; uses multiplexed I/O.
RemoteDbDataProvider::RemoteDbTableBulkSendOperation::constructor | ( | RemoteDbTableDataProvider | provider, |
DbRemoteBase | remote, | ||
string | table, | ||
string | stream, | ||
*hash< auto > | opts | ||
) |
Creates the object.
provider | the remote data provider (parent object) |
remote | the remote connection |
table | the remote table name |
stream | the stream name |
opts | bulk send options |
RemoteDbDataProvider::RemoteDbTableBulkSendOperation::discard | ( | ) |
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
RemoteDbDataProvider::RemoteDbTableBulkSendOperation::flush | ( | ) |
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