public class CouchbaseDirectQueryExecution extends CouchbaseExecution implements ProcedureExecution
connection, executionContext, executionFactory, metadata
Constructor and Description |
---|
CouchbaseDirectQueryExecution(List<Argument> arguments,
Command command,
CouchbaseExecutionFactory executionFactory,
ExecutionContext executionContext,
RuntimeMetadata metadata,
CouchbaseConnection 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<?> |
getOutputParameterValues()
Get the output parameter values.
|
List<?> |
next()
Retrieves the next row of the resultset.
|
public CouchbaseDirectQueryExecution(List<Argument> arguments, Command command, CouchbaseExecutionFactory executionFactory, ExecutionContext executionContext, RuntimeMetadata metadata, CouchbaseConnection connection)
public void execute() throws TranslatorException
Execution
execute
in interface Execution
TranslatorException
public List<?> next() throws TranslatorException, DataNotAvailableException
ResultSetExecution
next
in interface ResultSetExecution
TranslatorException
DataNotAvailableException
public void close()
Execution
public void cancel() throws TranslatorException
Execution
cancel
in interface Execution
TranslatorException
public List<?> getOutputParameterValues() throws TranslatorException
ProcedureExecution
getOutputParameterValues
in interface ProcedureExecution
TranslatorException
- If an error occurs while retrieving the output valueCopyright © 2020. All rights reserved.