Package org.teiid.translator.olap
Class OlapQueryExecution
- java.lang.Object
-
- org.teiid.translator.olap.OlapQueryExecution
-
- All Implemented Interfaces:
org.teiid.translator.Execution,org.teiid.translator.ProcedureExecution,org.teiid.translator.ResultSetExecution
public class OlapQueryExecution extends Object implements org.teiid.translator.ProcedureExecution
Executes the given MDX and packs the results into an array
-
-
Field Summary
Fields Modifier and Type Field Description protected org.teiid.language.Commandcommandprotected org.olap4j.OlapConnectionconnectionprotected org.teiid.translator.ExecutionContextcontextprotected OlapExecutionFactoryexecutionFactory
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel()voidclose()voidexecute()List<?>getOutputParameterValues()List<?>next()
-
-
-
Field Detail
-
command
protected org.teiid.language.Command command
-
connection
protected org.olap4j.OlapConnection connection
-
context
protected org.teiid.translator.ExecutionContext context
-
executionFactory
protected OlapExecutionFactory executionFactory
-
-
Constructor Detail
-
OlapQueryExecution
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)
-
-
Method Detail
-
execute
public void execute() throws org.teiid.translator.TranslatorException- Specified by:
executein interfaceorg.teiid.translator.Execution- Throws:
org.teiid.translator.TranslatorException
-
cancel
public void cancel() throws org.teiid.translator.TranslatorException- Specified by:
cancelin interfaceorg.teiid.translator.Execution- Throws:
org.teiid.translator.TranslatorException
-
close
public void close()
- Specified by:
closein interfaceorg.teiid.translator.Execution
-
next
public List<?> next() throws org.teiid.translator.TranslatorException
- Specified by:
nextin interfaceorg.teiid.translator.ResultSetExecution- Throws:
org.teiid.translator.TranslatorException
-
getOutputParameterValues
public List<?> getOutputParameterValues() throws org.teiid.translator.TranslatorException
- Specified by:
getOutputParameterValuesin interfaceorg.teiid.translator.ProcedureExecution- Throws:
org.teiid.translator.TranslatorException
-
-