public class QueryExecutionImpl extends Object implements ResultSetExecution
| Constructor and Description |
|---|
QueryExecutionImpl(QueryExpression command,
SalesforceConnection connection,
RuntimeMetadata metadata,
ExecutionContext context,
SalesForceExecutionFactory salesForceExecutionFactory) |
| 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 QueryExecutionImpl(QueryExpression command, SalesforceConnection connection, RuntimeMetadata metadata, ExecutionContext context, SalesForceExecutionFactory salesForceExecutionFactory)
public void cancel()
throws TranslatorException
Executioncancel in interface ExecutionTranslatorExceptionpublic void close()
Executionpublic void execute()
throws TranslatorException
Executionexecute in interface ExecutionTranslatorExceptionpublic List<?> next() throws TranslatorException, DataNotAvailableException
ResultSetExecutionnext in interface ResultSetExecutionTranslatorExceptionDataNotAvailableExceptionCopyright © 2019. All rights reserved.