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, JJTWHERECLAUSE
ABS, 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
ParseException
public final void SelectStatement() throws ParseException
ParseException
public final void SelectClause() throws ParseException
ParseException
public final void SelectExpression() throws ParseException
ParseException
public final void FromClause() throws ParseException
ParseException
public final void FromDeclaration() throws ParseException
ParseException
public final void WhereClause() throws ParseException
ParseException
public final void OrderbyClause() throws ParseException
ParseException
public final void OrderbyItem() throws ParseException
ParseException
public final void LimitClause() throws ParseException
ParseException
public final void ConditionalExpression() throws ParseException
ParseException
public final void ConditionalTerm() throws ParseException
ParseException
public final void ConditionalFactor() throws ParseException
ParseException
public final void ConditionalPrimary() throws ParseException
ParseException
public final void ComparisonExpression() throws ParseException
ParseException
public final void ComparisonOperator() throws ParseException
ParseException
public final void BetweenExpression() throws ParseException
ParseException
public final void LikeExpression() throws ParseException
ParseException
public final void InExpression() throws ParseException
ParseException
public final void InItem() throws ParseException
ParseException
public final void NullExpression() throws ParseException
ParseException
public final void UndefinedFunction() throws ParseException
ParseException
public final void Expression() throws ParseException
ParseException
public final void Term() throws ParseException
ParseException
public final void Factor() throws ParseException
ParseException
public final void Primary() throws ParseException
ParseException
public final void Function() throws ParseException
ParseException
public final void DatePrimary() throws ParseException
ParseException
public final void TimePrimary() throws ParseException
ParseException
public final void TimestampPrimary() throws ParseException
ParseException
public final void Literal() throws ParseException
ParseException
public final void Parameter() throws ParseException
ParseException
public final void PositionalParameter() throws ParseException
ParseException
public final void NamedParameter() throws ParseException
ParseException
public final void CastorParameter() throws ParseException
ParseException
public final void Path() throws ParseException
ParseException
public final void Identifier() throws ParseException
ParseException
public final void BooleanLiteral() throws ParseException
ParseException
public final void IntegerLiteral() throws ParseException
ParseException
public final void FloatLiteral() throws ParseException
ParseException
public final void CharLiteral() throws ParseException
ParseException
public final void StringLiteral() throws ParseException
ParseException
public final void TimestampLiteral() throws ParseException
ParseException
public final void DateLiteral() throws ParseException
ParseException
public final void TimeLiteral() throws ParseException
ParseException
public 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 © 2013. All rights reserved.