org.josql.parser
Class JoSQLParser
java.lang.Object
org.josql.parser.JoSQLParser
- All Implemented Interfaces:
- JoSQLParserConstants
public class JoSQLParser
- extends Object
- implements JoSQLParserConstants
The parser generated by JavaCC
Fields inherited from interface org.josql.parser.JoSQLParserConstants |
DEFAULT, DIGIT, EOF, K_ALL, K_AND, K_AS, K_ASC, K_BETWEEN, K_BY, K_DESC, K_DISTINCT, K_EXECUTE, K_FALSE, K_FROM, K_GROUP, K_GROUP_BY_RESULTS, K_HAVING, K_HAVING_RESULTS, K_IN, K_INLIKE, K_INTO, K_IS, K_LIKE, K_LIMIT, K_NEW, K_NOT, K_NULL, K_ON, K_OR, K_ORDER, K_RESULTS, K_SELECT, K_TRUE, K_USE, K_WHERE, K_WHERE_RESULTS, LETTER, LINE_COMMENT, MULTI_LINE_COMMENT, S_CHAR_LITERAL, S_CHAR_LITERAL2, S_DOUBLE, S_IDENTIFIER, S_INTEGER, SPECIAL_CHARS, tokenImage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
token_source
public JoSQLParserTokenManager token_source
token
public Token token
jj_nt
public Token jj_nt
lookingAhead
public boolean lookingAhead
JoSQLParser
public JoSQLParser(InputStream stream)
JoSQLParser
public JoSQLParser(InputStream stream,
String encoding)
JoSQLParser
public JoSQLParser(Reader stream)
JoSQLParser
public JoSQLParser(JoSQLParserTokenManager tm)
BindVariable
public final BindVariable BindVariable()
throws ParseException
- Throws:
ParseException
SaveValue
public final SaveValue SaveValue()
throws ParseException
- Throws:
ParseException
parseQuery
public final void parseQuery(Query q)
throws ParseException
- Throws:
ParseException
Name
public final String Name()
throws ParseException
- Throws:
ParseException
KeywordName
public final Token KeywordName()
throws ParseException
- Throws:
ParseException
RelObjectName
public final String RelObjectName()
throws ParseException
- Throws:
ParseException
Query
public final void Query(Query q)
throws ParseException
- Throws:
ParseException
ExecuteOn
public final Map ExecuteOn()
throws ParseException
- Throws:
ParseException
ExecuteOnType
public final Map ExecuteOnType(Map execOn)
throws ParseException
- Throws:
ParseException
SelectItemsList
public final List SelectItemsList(Query q)
throws ParseException
- Throws:
ParseException
FunctionList
public final List FunctionList()
throws ParseException
- Throws:
ParseException
AliasedFunction
public final AliasedFunction AliasedFunction()
throws ParseException
- Throws:
ParseException
SelectItem
public final SelectItemExpression SelectItem(Query q)
throws ParseException
- Throws:
ParseException
NewObjectExpression
public final NewObjectExpression NewObjectExpression()
throws ParseException
- Throws:
ParseException
Alias
public final String Alias()
throws ParseException
- Throws:
ParseException
From
public final Expression From()
throws ParseException
- Throws:
ParseException
WhereClause
public final Expression WhereClause()
throws ParseException
- Throws:
ParseException
GroupBys
public final List GroupBys()
throws ParseException
- Throws:
ParseException
Having
public final Expression Having()
throws ParseException
- Throws:
ParseException
OrderBys
public final List OrderBys()
throws ParseException
- Throws:
ParseException
GroupOrderBys
public final List GroupOrderBys()
throws ParseException
- Throws:
ParseException
OrderBy
public final OrderBy OrderBy()
throws ParseException
- Throws:
ParseException
Limit
public final Limit Limit()
throws ParseException
- Throws:
ParseException
GroupLimit
public final Limit GroupLimit()
throws ParseException
- Throws:
ParseException
ColumnReference
public final ColumnReference ColumnReference()
throws ParseException
- Throws:
ParseException
ColumnIndex
public final int ColumnIndex()
throws ParseException
- Throws:
ParseException
ExpressionList
public final Expression ExpressionList()
throws ParseException
- Throws:
ParseException
OrExpression
public final Expression OrExpression()
throws ParseException
- Throws:
ParseException
AndExpression
public final Expression AndExpression()
throws ParseException
- Throws:
ParseException
Condition
public final Expression Condition()
throws ParseException
- Throws:
ParseException
RegularCondition
public final Expression RegularCondition()
throws ParseException
- Throws:
ParseException
SQLCondition
public final Expression SQLCondition()
throws ParseException
- Throws:
ParseException
InExpression
public final InExpression InExpression()
throws ParseException
- Throws:
ParseException
BetweenExpression
public final BetweenExpression BetweenExpression()
throws ParseException
- Throws:
ParseException
LikeExpression
public final LikeExpression LikeExpression()
throws ParseException
- Throws:
ParseException
IsNullExpression
public final IsNullExpression IsNullExpression()
throws ParseException
- Throws:
ParseException
SQLExpressionList
public final List SQLExpressionList()
throws ParseException
- Throws:
ParseException
AliasedSQLExpressionList
public final List AliasedSQLExpressionList()
throws ParseException
- Throws:
ParseException
SimpleExpression
public final Expression SimpleExpression()
throws ParseException
- Throws:
ParseException
AdditiveExpression
public final Expression AdditiveExpression()
throws ParseException
- Throws:
ParseException
MultiplicativeExpression
public final Expression MultiplicativeExpression()
throws ParseException
- Throws:
ParseException
PrimaryExpression
public final Expression PrimaryExpression()
throws ParseException
- Throws:
ParseException
Function
public final Function Function()
throws ParseException
- Throws:
ParseException
SubQueryExpression
public final SubQueryExpression SubQueryExpression()
throws ParseException
- Throws:
ParseException
ReInit
public void ReInit(InputStream stream)
ReInit
public void ReInit(InputStream stream,
String encoding)
ReInit
public void ReInit(Reader stream)
ReInit
public void ReInit(JoSQLParserTokenManager tm)
getNextToken
public final Token getNextToken()
getToken
public final Token getToken(int index)
generateParseException
public ParseException generateParseException()
enable_tracing
public final void enable_tracing()
disable_tracing
public final void disable_tracing()
Copyright © 2008 Gary Bentley. All Rights Reserved.