public class OlapQueryExecution extends Object implements ProcedureExecution
| Modifier and Type | Field and Description |
|---|---|
protected Command |
command |
protected org.olap4j.OlapConnection |
connection |
protected ExecutionContext |
context |
protected OlapExecutionFactory |
executionFactory |
| Constructor and Description |
|---|
OlapQueryExecution(List<Argument> arguments,
Command command,
org.olap4j.OlapConnection connection,
ExecutionContext context,
OlapExecutionFactory executionFactory,
String mdxQuery,
boolean returnsArray) |
| 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.
|
protected Command command
protected org.olap4j.OlapConnection connection
protected ExecutionContext context
protected OlapExecutionFactory executionFactory
public OlapQueryExecution(List<Argument> arguments, Command command, org.olap4j.OlapConnection connection, ExecutionContext context, OlapExecutionFactory executionFactory, String mdxQuery, boolean returnsArray)
public void execute()
throws TranslatorException
Executionexecute in interface ExecutionTranslatorExceptionpublic void cancel()
throws TranslatorException
Executioncancel in interface ExecutionTranslatorExceptionpublic void close()
Executionpublic List<?> next() throws TranslatorException
ResultSetExecutionnext in interface ResultSetExecutionTranslatorExceptionpublic List<?> getOutputParameterValues() throws TranslatorException
ProcedureExecutiongetOutputParameterValues in interface ProcedureExecutionTranslatorException - If an error occurs while retrieving the output valueCopyright © 2018 JBoss by Red Hat. All rights reserved.