|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmondrian.parser.MdxParserImpl
public class MdxParserImpl
MDX parser, generated from MdxParser.jj.
The public wrapper for this parser is JavaccParserValidatorImpl.
| Nested Class Summary | |
|---|---|
(package private) static class |
MdxParserImpl.JJCalls
|
| Field Summary | |
|---|---|
(package private) SimpleCharStream |
jj_input_stream
|
Token |
jj_nt
Next token. |
Token |
token
Current token. |
MdxParserImplTokenManager |
token_source
Generated Token Manager. |
| Fields inherited from interface mondrian.parser.MdxParserImplConstants |
|---|
AMP_QUOTED_ID, AND, APPROX_NUMERIC_LITERAL, AS, ASTERISK, AXIS, BANG, CASE, CAST, CELL, CHAPTERS, COLON, COLUMNS, COMMA, CONCAT, DECIMAL_NUMERIC_LITERAL, DEFAULT, DIGIT, DIMENSION, DOT, DOUBLE_QUOTED_STRING, DRILLTHROUGH, ELSE, EMPTY, END, EOF, EQ, EXPLAIN, EXPONENT, FIRSTROWSET, FOR, FORMAL_COMMENT, FROM, GE, GT, ID, IN, IN_FORMAL_COMMENT, IN_MULTI_LINE_COMMENT, IN_SINGLE_LINE_COMMENT, IS, LBRACE, LE, LETTER, LPAREN, LT, MATCHES, MAXROWS, MEMBER, MINUS, MULTI_LINE_COMMENT, NE, NON, NOT, NULL, ON, OR, PAGES, PLAN, PLUS, PROPERTIES, QUOTED_ID, RBRACE, RETURN, ROWS, RPAREN, SECTIONS, SELECT, SET, SINGLE_LINE_COMMENT, SINGLE_QUOTED_STRING, SOLIDUS, THEN, tokenImage, UNSIGNED_INTEGER_LITERAL, WHEN, WHERE, WHITESPACE, WITH, XOR |
| Constructor Summary | |
|---|---|
MdxParserImpl(InputStream stream)
Constructor with InputStream. |
|
MdxParserImpl(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding |
|
MdxParserImpl(MdxParserImplTokenManager tm)
Constructor with generated Token Manager. |
|
MdxParserImpl(MdxParserValidator.QueryPartFactory factory,
Statement statement,
String queryString,
boolean debug,
FunTable funTable,
boolean strictValidation)
|
|
MdxParserImpl(Reader stream)
Constructor. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public MdxParserImplTokenManager token_source
SimpleCharStream jj_input_stream
public Token token
public Token jj_nt
| Constructor Detail |
|---|
public MdxParserImpl(MdxParserValidator.QueryPartFactory factory,
Statement statement,
String queryString,
boolean debug,
FunTable funTable,
boolean strictValidation)
public MdxParserImpl(InputStream stream)
public MdxParserImpl(InputStream stream,
String encoding)
public MdxParserImpl(Reader stream)
public MdxParserImpl(MdxParserImplTokenManager tm)
| Method Detail |
|---|
public void setTabSize(int tabSize)
Exp recursivelyParseExp(String s)
throws ParseException
ParseExceptionstatic Id[] toIdArray(List<Id> idList)
static Exp[] toExpArray(List<Exp> expList)
static Formula[] toFormulaArray(List<Formula> formulaList)
static MemberProperty[] toMemberPropertyArray(List<MemberProperty> mpList)
static QueryPart[] toQueryPartArray(List<QueryPart> qpList)
static QueryAxis[] toQueryAxisArray(List<QueryAxis> qpList)
public final QueryPart statementEof()
throws ParseException
ParseException
public final Exp expressionEof()
throws ParseException
ParseException
public final Id.Segment identifier()
throws ParseException
ParseException
public final String keyword()
throws ParseException
ParseException
public final Id compoundId()
throws ParseException
ParseException
public final Exp unaliasedExpression()
throws ParseException
ParseException
public final Exp term5()
throws ParseException
ParseException
public final Exp term4()
throws ParseException
ParseException
public final Exp term3()
throws ParseException
ParseException
public final Exp term2()
throws ParseException
ParseException
public final Exp term()
throws ParseException
ParseException
public final Exp factor()
throws ParseException
ParseException
public final Exp primary()
throws ParseException
ParseException
public final Exp segmentOrFuncall(Exp left)
throws ParseException
ParseException
public final Literal numericLiteral()
throws ParseException
ParseException
public final Exp atom()
throws ParseException
ParseException
public final Exp caseExpression()
throws ParseException
ParseException
public final Exp expression()
throws ParseException
ParseException
public final Exp expressionOrEmpty()
throws ParseException
ParseException
public final List<Exp> expOrEmptyList()
throws ParseException
ParseException
public final List<Exp> expList()
throws ParseException
ParseException
public final QueryPart statement()
throws ParseException
ParseException
public final QueryPart selectOrDrillthroughStatement()
throws ParseException
ParseException
public final Query selectStatement()
throws ParseException
ParseException
public final Formula memberSpecification()
throws ParseException
ParseException
public final Exp formulaExpression()
throws ParseException
ParseException
public final MemberProperty memberPropertyDefinition()
throws ParseException
ParseException
public final Formula setSpecification()
throws ParseException
ParseException
public final QueryAxis axisSpecification()
throws ParseException
ParseException
public final QueryPart drillthroughStatement()
throws ParseException
ParseException
public final List<Exp> returnItemList()
throws ParseException
ParseException
public final Id returnItem()
throws ParseException
ParseException
public final QueryPart explainStatement()
throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(InputStream stream,
String encoding)
public void ReInit(Reader stream)
public void ReInit(MdxParserImplTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||