public class SolrUpdateExecution extends Object implements UpdateExecution
| Constructor and Description |
|---|
SolrUpdateExecution(SolrExecutionFactory ef,
Command command,
ExecutionContext executionContext,
RuntimeMetadata metadata,
SolrConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancels the execution abnormally.
|
void |
close()
Terminates the execution normally.
|
void |
execute()
Execute the associated command.
|
int[] |
getUpdateCounts()
Returns the update counts for the execution.
|
public SolrUpdateExecution(SolrExecutionFactory ef, Command command, ExecutionContext executionContext, RuntimeMetadata metadata, SolrConnection connection)
public void execute()
throws TranslatorException
Executionexecute in interface ExecutionTranslatorExceptionpublic int[] getUpdateCounts()
throws DataNotAvailableException,
TranslatorException
UpdateExecutiongetUpdateCounts in interface UpdateExecutionDataNotAvailableExceptionTranslatorExceptionpublic void close()
Executionpublic void cancel()
throws TranslatorException
Executioncancel in interface ExecutionTranslatorExceptionCopyright © 2020. All rights reserved.