Package mondrian.parser
Class JavaccParserValidatorImpl
- java.lang.Object
-
- mondrian.parser.JavaccParserValidatorImpl
-
- All Implemented Interfaces:
MdxParserValidator
public class JavaccParserValidatorImpl extends Object implements MdxParserValidator
Default implementation ofMdxParserValidator
, using the JavaCC parser generator.- Author:
- jhyde
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface mondrian.parser.MdxParserValidator
MdxParserValidator.QueryPartFactory
-
-
Constructor Summary
Constructors Constructor Description JavaccParserValidatorImpl()
Creates a JavaccParserValidatorImpl.JavaccParserValidatorImpl(MdxParserValidator.QueryPartFactory factory)
Creates a JavaccParserValidatorImpl with an explicit factory for parse tree nodes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Exp
parseExpression(Statement statement, String queryString, boolean debug, FunTable funTable)
QueryPart
parseInternal(Statement statement, String queryString, boolean debug, FunTable funTable, boolean strictValidation)
Parses a string to create aQuery
.
-
-
-
Constructor Detail
-
JavaccParserValidatorImpl
public JavaccParserValidatorImpl()
Creates a JavaccParserValidatorImpl.
-
JavaccParserValidatorImpl
public JavaccParserValidatorImpl(MdxParserValidator.QueryPartFactory factory)
Creates a JavaccParserValidatorImpl with an explicit factory for parse tree nodes.- Parameters:
factory
- Factory for parse tree nodes
-
-
Method Detail
-
parseInternal
public QueryPart parseInternal(Statement statement, String queryString, boolean debug, FunTable funTable, boolean strictValidation)
Description copied from interface:MdxParserValidator
Parses a string to create aQuery
. Called only byConnectionBase.parseQuery(java.lang.String)
.- Specified by:
parseInternal
in interfaceMdxParserValidator
-
parseExpression
public Exp parseExpression(Statement statement, String queryString, boolean debug, FunTable funTable)
- Specified by:
parseExpression
in interfaceMdxParserValidator
-
-