Package org.teiid.translator
Interface UpdateExecution
-
- All Superinterfaces:
Execution
- All Known Implementing Classes:
AbstractSpreadsheetExecution
,AbstractUpdateExecution
,AccumuloUpdateExecution
,CassandraUpdateExecution
,CouchbaseUpdateExecution
,DeleteExecutionImpl
,ExcelUpdateExecution
,InfinispanUpdateExecution
,InsertExecutionImpl
,JDBCUpdateExecution
,JPQLUpdateExecution
,LDAPUpdateExecution
,LoopbackExecution
,MongoDBUpdateExecution
,ODataUpdateExecution
,ODataUpdateExecution
,PhoenixUpdateExecution
,SimpleDBDeleteExecute
,SimpleDBInsertExecute
,SimpleDBUpdateExecute
,SolrUpdateExecution
,SpreadsheetUpdateExecution
,UpdateExecutionImpl
public interface UpdateExecution extends Execution
The update execution represents the case where a connector can execute anInsert
,Update
,Delete
, orBatchedUpdates
command.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int[]
getUpdateCounts()
Returns the update counts for the execution.
-
-
-
Method Detail
-
getUpdateCounts
int[] getUpdateCounts() throws DataNotAvailableException, TranslatorException
Returns the update counts for the execution.
A single positive integer value is expected for non bulk/batch commands.
bulk/batch should return an integer for each value/command. 0 or greater for successful update count, -2 for no info, -3 failure- Returns:
- the update counts corresponding to the command executed
- Throws:
DataNotAvailableException
TranslatorException
-
-