|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface OlapStatement
Object used for statically executing an MDX statement and returning a
CellSet.
An OlapStatement is generally created using
OlapConnection.createStatement().
PreparedOlapStatement
| Field Summary |
|---|
| Fields inherited from interface java.sql.Statement |
|---|
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO |
| Method Summary | |
|---|---|
CellSet |
executeOlapQuery(SelectNode selectNode)
Executes an OLAP statement expressed as a parse tree. |
CellSet |
executeOlapQuery(String mdx)
Executes an OLAP statement. |
| Methods inherited from interface java.sql.Wrapper |
|---|
isWrapperFor, unwrap |
| Methods inherited from interface org.olap4j.OlapWrapper |
|---|
isWrapperFor, unwrap |
| Method Detail |
|---|
CellSet executeOlapQuery(String mdx)
throws OlapException
OlapException - if a database access error occurs,
this method is called on a closed OlapStatement,
the query times out (see Statement.setQueryTimeout(int))
or another thread cancels the statement (see Statement.cancel())mdx - MDX SELECT statement
CellSet executeOlapQuery(SelectNode selectNode)
throws OlapException
Validates the parse tree before executing it.
OlapException - if a database access error occurs,
this method is called on a closed OlapStatement,
the query times out (see Statement.setQueryTimeout(int))
or another thread cancels the statement (see Statement.cancel())selectNode - Parse tree of MDX SELECT statement
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||