public class OlapQueryExecution extends Object implements org.teiid.translator.ProcedureExecution
| Modifier and Type | Field and Description |
|---|---|
protected org.teiid.language.Command |
command |
protected org.olap4j.OlapConnection |
connection |
protected org.teiid.translator.ExecutionContext |
context |
protected OlapExecutionFactory |
executionFactory |
| Constructor and Description |
|---|
OlapQueryExecution(List<org.teiid.language.Argument> arguments,
org.teiid.language.Command command,
org.olap4j.OlapConnection connection,
org.teiid.translator.ExecutionContext context,
OlapExecutionFactory executionFactory,
String mdxQuery,
boolean returnsArray) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
close() |
void |
execute() |
List<?> |
getOutputParameterValues() |
List<?> |
next() |
protected org.teiid.language.Command command
protected org.olap4j.OlapConnection connection
protected org.teiid.translator.ExecutionContext context
protected OlapExecutionFactory executionFactory
public OlapQueryExecution(List<org.teiid.language.Argument> arguments, org.teiid.language.Command command, org.olap4j.OlapConnection connection, org.teiid.translator.ExecutionContext context, OlapExecutionFactory executionFactory, String mdxQuery, boolean returnsArray)
public void execute()
throws org.teiid.translator.TranslatorException
execute in interface org.teiid.translator.Executionorg.teiid.translator.TranslatorExceptionpublic void cancel()
throws org.teiid.translator.TranslatorException
cancel in interface org.teiid.translator.Executionorg.teiid.translator.TranslatorExceptionpublic void close()
close in interface org.teiid.translator.Executionpublic List<?> next() throws org.teiid.translator.TranslatorException
next in interface org.teiid.translator.ResultSetExecutionorg.teiid.translator.TranslatorExceptionpublic List<?> getOutputParameterValues() throws org.teiid.translator.TranslatorException
getOutputParameterValues in interface org.teiid.translator.ProcedureExecutionorg.teiid.translator.TranslatorExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.