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
Execution
execute
in interface Execution
TranslatorException
public void nextBatch() throws TranslatorException
TranslatorException
public List<?> next() throws TranslatorException, DataNotAvailableException
ResultSetExecution
next
in interface ResultSetExecution
TranslatorException
DataNotAvailableException
public void walkDocuments(org.teiid.translator.solr.SolrQueryExecution.SolrDocumentCallback callback) throws TranslatorException
TranslatorException
public void close()
Execution
public void cancel() throws TranslatorException
Execution
cancel
in interface Execution
TranslatorException
Copyright © 2017 JBoss by Red Hat. All rights reserved.