Class UpdateExecutionImpl
- java.lang.Object
-
- org.teiid.translator.salesforce.execution.AbstractUpdateExecution
-
- org.teiid.translator.salesforce.execution.UpdateExecutionImpl
-
- All Implemented Interfaces:
Execution
,UpdateExecution
public class UpdateExecutionImpl extends AbstractUpdateExecution
-
-
Field Summary
-
Fields inherited from class org.teiid.translator.salesforce.execution.AbstractUpdateExecution
command, connection, context, executionFactory, metadata, result
-
-
Constructor Summary
Constructors Constructor Description UpdateExecutionImpl(SalesForceExecutionFactory ef, Command command, SalesforceConnection salesforceConnection, RuntimeMetadata metadata, ExecutionContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
Execute the associated command.protected int
processIds(String[] ids, IQueryProvidingVisitor visitor)
Process an update against the ids-
Methods inherited from class org.teiid.translator.salesforce.execution.AbstractUpdateExecution
cancel, close, getConnection, getMetadata, getUpdateCounts
-
-
-
-
Constructor Detail
-
UpdateExecutionImpl
public UpdateExecutionImpl(SalesForceExecutionFactory ef, Command command, SalesforceConnection salesforceConnection, RuntimeMetadata metadata, ExecutionContext context)
-
-
Method Detail
-
execute
public void execute() throws TranslatorException
Description copied from interface:Execution
Execute the associated command. Results will be retrieved through a specific sub-interface call.- Throws:
TranslatorException
-
processIds
protected int processIds(String[] ids, IQueryProvidingVisitor visitor) throws TranslatorException
Description copied from class:AbstractUpdateExecution
Process an update against the ids- Overrides:
processIds
in classAbstractUpdateExecution
- Returns:
- Throws:
TranslatorException
-
-