![]() |
Qorus Integration Engine® Community Edition 6.0.0_dev
|
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. More... | |
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. More... | |
discard () | |
Discards any buffered data. More... | |
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 |
|
virtual |
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
Implements DataProvider::AbstractDataProviderBulkOperation.
|
virtual |
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
Implements DataProvider::AbstractDataProviderBulkOperation.