|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmondrian.olap.ConnectionBase
public abstract class ConnectionBase
ConnectionBase implements some of the methods in
Connection.
| Constructor Summary | |
|---|---|
protected |
ConnectionBase()
|
| Method Summary | |
|---|---|
Statement |
createDummyStatement()
|
String |
getFullConnectString()
|
protected abstract org.apache.log4j.Logger |
getLogger()
|
Exp |
parseExpression(String expr)
Parses an expresion. |
Query |
parseQuery(String query)
Parses a query. |
Query |
parseQuery(String query,
boolean load)
|
QueryPart |
parseStatement(Statement statement,
String query,
FunTable funTable,
boolean strictValidation)
Parses a query, with specified function table and the mode for strict validation(if true then invalid members are not ignored). |
QueryPart |
parseStatement(String query)
Parses a statement. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface mondrian.olap.Connection |
|---|
close, execute, getCacheControl, getCatalogName, getConnectString, getDataSource, getLocale, getProperty, getRole, getSchema, getSchemaReader, setRole |
| Constructor Detail |
|---|
protected ConnectionBase()
| Method Detail |
|---|
protected abstract org.apache.log4j.Logger getLogger()
public String getFullConnectString()
public QueryPart parseStatement(String query)
Connection
parseStatement in interface Connectionquery - MDX string
Query if it is a SELECT statement, a
DrillThrough if it is a DRILLTHROUGH statementpublic Statement createDummyStatement()
public Query parseQuery(String query)
Connection
parseQuery in interface Connection
public Query parseQuery(String query,
boolean load)
public QueryPart parseStatement(Statement statement,
String query,
FunTable funTable,
boolean strictValidation)
This method is only used in testing and by clients that need to support customized parser behavior. That is why this method is not part of the Connection interface.
See test case mondrian.olap.CustomizedParserTest.
statement - Evaluation contextquery - MDX query that requires special parsingfunTable - Customized function table to use in parsingstrictValidation - If true, do not ignore invalid members
MondrianException - if parsing failspublic Exp parseExpression(String expr)
Connection
parseExpression in interface Connection
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||