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
ParseException
public final Exp expressionEof() throws ParseException
ParseException
public final Id.Segment identifier() throws ParseException
ParseException
public final Id.NameSegment nameSegment() throws ParseException
ParseException
public final Id.KeySegment keyIdentifier() throws ParseException
ParseException
public final Id.NameSegment ampId() 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
ParseException
public 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 © 2020 Hitachi Vantara. All rights reserved.