public class MdxParserImpl extends Object implements MdxParserImplConstants
The public wrapper for this parser is JavaccParserValidatorImpl.
| Modifier and Type | Field and Description |
|---|---|
Token |
jj_nt
Next token.
|
Token |
token
Current token.
|
MdxParserImplTokenManager |
token_source
Generated Token Manager.
|
AMP_QUOTED_ID, AMP_UNQUOTED_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, EXISTING, 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 and Description |
|---|
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.
|
public MdxParserImplTokenManager token_source
public Token token
public Token jj_nt
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)
public void setTabSize(int tabSize)
public final QueryPart statementEof() throws ParseException
ParseExceptionpublic final Exp expressionEof() throws ParseException
ParseExceptionpublic final Id.Segment identifier() throws ParseException
ParseExceptionpublic final Id.NameSegment nameSegment() throws ParseException
ParseExceptionpublic final Id.KeySegment keyIdentifier() throws ParseException
ParseExceptionpublic final Id.NameSegment ampId() throws ParseException
ParseExceptionpublic final String keyword() throws ParseException
ParseExceptionpublic final Id compoundId() throws ParseException
ParseExceptionpublic final Exp unaliasedExpression() throws ParseException
ParseExceptionpublic final Exp term5() throws ParseException
ParseExceptionpublic final Exp term4() throws ParseException
ParseExceptionpublic final Exp term3() throws ParseException
ParseExceptionpublic final Exp term2() throws ParseException
ParseExceptionpublic final Exp term() throws ParseException
ParseExceptionpublic final Exp factor() throws ParseException
ParseExceptionpublic final Exp primary() throws ParseException
ParseExceptionpublic final Exp segmentOrFuncall(Exp left) throws ParseException
ParseExceptionpublic final Literal numericLiteral() throws ParseException
ParseExceptionpublic final Exp atom() throws ParseException
ParseExceptionpublic final Exp caseExpression() throws ParseException
ParseExceptionpublic final Exp expression() throws ParseException
ParseExceptionpublic final Exp expressionOrEmpty() throws ParseException
ParseExceptionpublic final List<Exp> expOrEmptyList() throws ParseException
ParseExceptionpublic final List<Exp> expList() throws ParseException
ParseExceptionpublic final QueryPart statement() throws ParseException
ParseExceptionpublic final QueryPart selectOrDrillthroughStatement() throws ParseException
ParseExceptionpublic final Query selectStatement() throws ParseException
ParseExceptionpublic final Formula memberSpecification() throws ParseException
ParseExceptionpublic final Exp formulaExpression() throws ParseException
ParseExceptionpublic final MemberProperty memberPropertyDefinition() throws ParseException
ParseExceptionpublic final Formula setSpecification() throws ParseException
ParseExceptionpublic final QueryAxis axisSpecification() throws ParseException
ParseExceptionpublic final QueryPart drillthroughStatement() throws ParseException
ParseExceptionpublic final List<Exp> returnItemList() throws ParseException
ParseExceptionpublic final Id returnItem() throws ParseException
ParseExceptionpublic 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()
Copyright © 2021 Hitachi Vantara. All rights reserved.