public abstract class ConnectionBase extends Object implements Connection
ConnectionBase implements some of the methods in
Connection.| Modifier | Constructor and Description |
|---|---|
protected |
ConnectionBase() |
| Modifier and Type | Method and Description |
|---|---|
protected MdxParserValidator |
createParser() |
String |
getFullConnectString() |
abstract Statement |
getInternalStatement() |
protected abstract org.apache.log4j.Logger |
getLogger() |
Query |
parseQuery(String query)
Parses a query.
|
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).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, execute, getCacheControl, getCatalogName, getConnectString, getDataSource, getLocale, getProperty, getRole, getSchema, getSchemaReader, parseExpression, parseStatement, setRoleprotected abstract org.apache.log4j.Logger getLogger()
public String getFullConnectString()
public abstract Statement getInternalStatement()
public Query parseQuery(String query)
ConnectionparseQuery in interface Connectionpublic 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 membersMondrianException - if parsing failsprotected MdxParserValidator createParser()
Copyright © 2019 Hitachi Vantara. All rights reserved.