public class SolrQueryExecution extends Object implements ResultSetExecution
| Constructor and Description |
|---|
SolrQueryExecution(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.
|
List<?> |
next()
Retrieves the next row of the resultset.
|
void |
nextBatch() |
void |
walkDocuments(org.teiid.translator.solr.SolrQueryExecution.SolrDocumentCallback callback) |
public SolrQueryExecution(SolrExecutionFactory ef, Command command, ExecutionContext executionContext, RuntimeMetadata metadata, SolrConnection connection)
public void execute()
throws TranslatorException
Executionexecute in interface ExecutionTranslatorExceptionpublic void nextBatch()
throws TranslatorException
TranslatorExceptionpublic List<?> next() throws TranslatorException, DataNotAvailableException
ResultSetExecutionnext in interface ResultSetExecutionTranslatorExceptionDataNotAvailableExceptionpublic void walkDocuments(org.teiid.translator.solr.SolrQueryExecution.SolrDocumentCallback callback)
throws TranslatorException
TranslatorExceptionpublic void close()
Executionpublic void cancel()
throws TranslatorException
Executioncancel in interface ExecutionTranslatorExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.