public class InsertExecutionImpl extends AbstractUpdateExecution
command, connection, context, executionFactory, metadata, result| Constructor and Description |
|---|
InsertExecutionImpl(SalesForceExecutionFactory ef,
Command command,
SalesforceConnection salesforceConnection,
RuntimeMetadata metadata,
ExecutionContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected List<com.sforce.async.SObject> |
buildBulkRowPayload(Insert insert,
Iterator<? extends List<?>> it,
int rowCount) |
void |
cancel()
Cancels the execution abnormally.
|
void |
execute()
Execute the associated command.
|
int[] |
getUpdateCounts()
Returns the update counts for the execution.
|
close, getConnection, getMetadata, processIdspublic InsertExecutionImpl(SalesForceExecutionFactory ef, Command command, SalesforceConnection salesforceConnection, RuntimeMetadata metadata, ExecutionContext context) throws TranslatorException
TranslatorExceptionpublic void execute()
throws TranslatorException
ExecutionTranslatorExceptionprotected List<com.sforce.async.SObject> buildBulkRowPayload(Insert insert, Iterator<? extends List<?>> it, int rowCount) throws TranslatorException
TranslatorExceptionpublic int[] getUpdateCounts()
throws DataNotAvailableException,
TranslatorException
UpdateExecutiongetUpdateCounts in interface UpdateExecutiongetUpdateCounts in class AbstractUpdateExecutionDataNotAvailableExceptionTranslatorExceptionpublic void cancel()
throws TranslatorException
Executioncancel in interface Executioncancel in class AbstractUpdateExecutionTranslatorExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.