public class CastorQLParser extends Object implements CastorQLParserTreeConstants, CastorQLParserConstants
| Modifier and Type | Field and Description |
|---|---|
Token |
jj_nt
Next token.
|
protected JJTCastorQLParserState |
jjtree |
Token |
token
Current token.
|
CastorQLParserTokenManager |
token_source
Generated Token Manager.
|
JJTBETWEENEXPRESSION, JJTBOOLEANLITERAL, JJTCASTORPARAMETER, JJTCASTORQL, JJTCHARLITERAL, JJTCOMPARISONEXPRESSION, JJTCOMPARISONOPERATOR, JJTCONDITIONALEXPRESSION, JJTCONDITIONALFACTOR, JJTCONDITIONALPRIMARY, JJTCONDITIONALTERM, JJTDATELITERAL, JJTDATEPRIMARY, JJTEXPRESSION, JJTFACTOR, JJTFLOATLITERAL, JJTFROMCLAUSE, JJTFROMDECLARATION, JJTFUNCTION, JJTIDENTIFIER, JJTINEXPRESSION, JJTINITEM, JJTINTEGERLITERAL, JJTLIKEEXPRESSION, JJTLIMITCLAUSE, JJTLITERAL, JJTNAMEDPARAMETER, jjtNodeName, JJTNULLEXPRESSION, JJTORDERBYCLAUSE, JJTORDERBYITEM, JJTPARAMETER, JJTPATH, JJTPOSITIONALPARAMETER, JJTPRIMARY, JJTSELECTCLAUSE, JJTSELECTEXPRESSION, JJTSELECTSTATEMENT, JJTSTRINGLITERAL, JJTTERM, JJTTIMELITERAL, JJTTIMEPRIMARY, JJTTIMESTAMPLITERAL, JJTTIMESTAMPPRIMARY, JJTUNDEFINEDFUNCTION, JJTWHERECLAUSEABS, AND, AS, ASC, BETWEEN, BOOLEAN_LITERAL, BY, CHAR_LITERAL, CONCATE, DATE, DATE_LITERAL, DEFAULT, DESC, DIGIT, DISTINCT, DIVIDE, EOF, EQUAL, ESCAPE, FALSE, FLOAT_LITERAL, FROM, GREATEREQUAL, GREATERTHAN, IDENTIFIER, IN, INTEGER_LITERAL, IS, IS_DEFINED, IS_UNDEFINED, LESSEQUAL, LESSTHAN, LETTER, LIKE, LIMIT, MINUS, MOD, MULTIPLY, NIL, NOT, NOTEQUAL1, NOTEQUAL2, NULL, OFFSET, OR, ORDER, PLUS, REMAINDER, SELECT, STRING_LITERAL, TIME, TIME_LITERAL, TIMESTAMP, TIMESTAMP_LITERAL, tokenImage, TRUE, UNDEFINED, WHERE| Constructor and Description |
|---|
CastorQLParser(CastorQLParserTokenManager tm)
Constructor with generated Token Manager.
|
CastorQLParser(InputStream stream)
Constructor with InputStream.
|
CastorQLParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
CastorQLParser(Reader stream)
Constructor.
|
protected JJTCastorQLParserState jjtree
public CastorQLParserTokenManager token_source
public Token token
public Token jj_nt
public CastorQLParser(InputStream stream)
public CastorQLParser(InputStream stream, String encoding)
public CastorQLParser(Reader stream)
public CastorQLParser(CastorQLParserTokenManager tm)
public final SimpleNode castorQL() throws ParseException
ParseExceptionpublic final void SelectStatement()
throws ParseException
ParseExceptionpublic final void SelectClause()
throws ParseException
ParseExceptionpublic final void SelectExpression()
throws ParseException
ParseExceptionpublic final void FromClause()
throws ParseException
ParseExceptionpublic final void FromDeclaration()
throws ParseException
ParseExceptionpublic final void WhereClause()
throws ParseException
ParseExceptionpublic final void OrderbyClause()
throws ParseException
ParseExceptionpublic final void OrderbyItem()
throws ParseException
ParseExceptionpublic final void LimitClause()
throws ParseException
ParseExceptionpublic final void ConditionalExpression()
throws ParseException
ParseExceptionpublic final void ConditionalTerm()
throws ParseException
ParseExceptionpublic final void ConditionalFactor()
throws ParseException
ParseExceptionpublic final void ConditionalPrimary()
throws ParseException
ParseExceptionpublic final void ComparisonExpression()
throws ParseException
ParseExceptionpublic final void ComparisonOperator()
throws ParseException
ParseExceptionpublic final void BetweenExpression()
throws ParseException
ParseExceptionpublic final void LikeExpression()
throws ParseException
ParseExceptionpublic final void InExpression()
throws ParseException
ParseExceptionpublic final void InItem()
throws ParseException
ParseExceptionpublic final void NullExpression()
throws ParseException
ParseExceptionpublic final void UndefinedFunction()
throws ParseException
ParseExceptionpublic final void Expression()
throws ParseException
ParseExceptionpublic final void Term()
throws ParseException
ParseExceptionpublic final void Factor()
throws ParseException
ParseExceptionpublic final void Primary()
throws ParseException
ParseExceptionpublic final void Function()
throws ParseException
ParseExceptionpublic final void DatePrimary()
throws ParseException
ParseExceptionpublic final void TimePrimary()
throws ParseException
ParseExceptionpublic final void TimestampPrimary()
throws ParseException
ParseExceptionpublic final void Literal()
throws ParseException
ParseExceptionpublic final void Parameter()
throws ParseException
ParseExceptionpublic final void PositionalParameter()
throws ParseException
ParseExceptionpublic final void NamedParameter()
throws ParseException
ParseExceptionpublic final void CastorParameter()
throws ParseException
ParseExceptionpublic final void Path()
throws ParseException
ParseExceptionpublic final void Identifier()
throws ParseException
ParseExceptionpublic final void BooleanLiteral()
throws ParseException
ParseExceptionpublic final void IntegerLiteral()
throws ParseException
ParseExceptionpublic final void FloatLiteral()
throws ParseException
ParseExceptionpublic final void CharLiteral()
throws ParseException
ParseExceptionpublic final void StringLiteral()
throws ParseException
ParseExceptionpublic final void TimestampLiteral()
throws ParseException
ParseExceptionpublic final void DateLiteral()
throws ParseException
ParseExceptionpublic final void TimeLiteral()
throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(CastorQLParserTokenManager 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 © 2014. All rights reserved.