public class MongoDBQueryExecution extends MongoDBBaseExecution implements ResultSetExecution
connection, executionContext, metadata, mongoDB| Constructor and Description |
|---|
MongoDBQueryExecution(MongoDBExecutionFactory executionFactory,
QueryExpression command,
ExecutionContext executionContext,
RuntimeMetadata metadata,
MongoDBConnection 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.
|
public MongoDBQueryExecution(MongoDBExecutionFactory executionFactory, QueryExpression command, ExecutionContext executionContext, RuntimeMetadata metadata, MongoDBConnection connection)
public void execute()
throws TranslatorException
Executionexecute in interface ExecutionTranslatorExceptionpublic List<?> next() throws TranslatorException, DataNotAvailableException
ResultSetExecutionnext in interface ResultSetExecutionTranslatorExceptionDataNotAvailableExceptionpublic void close()
Executionpublic void cancel()
throws TranslatorException
Executioncancel in interface ExecutionTranslatorExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.