org.apache.ojb.odmg.oql
Class OQLParser
java.lang.Object
antlr.Parser
antlr.LLkParser
org.apache.ojb.odmg.oql.OQLParser
- All Implemented Interfaces:
- OQLLexerTokenTypes
- public class OQLParser
- extends antlr.LLkParser
- implements OQLLexerTokenTypes
Fields inherited from interface org.apache.ojb.odmg.oql.OQLLexerTokenTypes |
CharLiteral, CommentLine, EOF, Identifier, LITERAL_and, LITERAL_asc, LITERAL_between, LITERAL_by, LITERAL_date, LITERAL_desc, LITERAL_distinct, LITERAL_exists, LITERAL_false, LITERAL_from, LITERAL_group, LITERAL_in, LITERAL_is_defined, LITERAL_is_undefined, LITERAL_like, LITERAL_list, LITERAL_nil, LITERAL_not, LITERAL_or, LITERAL_order, LITERAL_prefetch, LITERAL_select, LITERAL_time, LITERAL_timestamp, LITERAL_true, LITERAL_where, MultiLineComment, NameCharacter, NameFirstCharacter, NewLine, NULL_TREE_LOOKAHEAD, StringLiteral, TOK_APPROXIMATE_NUMERIC_LITERAL, TOK_COLON, TOK_COMMA, TOK_CONCAT, TOK_DOLLAR, TOK_DOT, TOK_EQ, TOK_EXACT_NUMERIC_LITERAL, TOK_GE, TOK_GT, TOK_INDIRECT, TOK_LBRACK, TOK_LE, TOK_LPAREN, TOK_LT, TOK_MINUS, TOK_NE, TOK_NE2, TOK_PLUS, TOK_RBRACK, TOK_RPAREN, TOK_SEMIC, TOK_SLASH, TOK_STAR, TOK_UNSIGNED_INTEGER, WhiteSpace |
Constructor Summary |
OQLParser(antlr.ParserSharedInputState state)
|
OQLParser(antlr.TokenBuffer tokenBuf)
|
OQLParser(antlr.TokenStream lexer)
|
Methods inherited from class antlr.LLkParser |
consume, LA, LT, traceIn, traceOut |
Methods inherited from class antlr.Parser |
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, match, match, matchNot, panic, recover, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_tokenNames
public static final java.lang.String[] _tokenNames
_tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_0
_tokenSet_1
public static final antlr.collections.impl.BitSet _tokenSet_1
_tokenSet_2
public static final antlr.collections.impl.BitSet _tokenSet_2
_tokenSet_3
public static final antlr.collections.impl.BitSet _tokenSet_3
_tokenSet_4
public static final antlr.collections.impl.BitSet _tokenSet_4
_tokenSet_5
public static final antlr.collections.impl.BitSet _tokenSet_5
_tokenSet_6
public static final antlr.collections.impl.BitSet _tokenSet_6
_tokenSet_7
public static final antlr.collections.impl.BitSet _tokenSet_7
_tokenSet_8
public static final antlr.collections.impl.BitSet _tokenSet_8
_tokenSet_9
public static final antlr.collections.impl.BitSet _tokenSet_9
_tokenSet_10
public static final antlr.collections.impl.BitSet _tokenSet_10
_tokenSet_11
public static final antlr.collections.impl.BitSet _tokenSet_11
_tokenSet_12
public static final antlr.collections.impl.BitSet _tokenSet_12
_tokenSet_13
public static final antlr.collections.impl.BitSet _tokenSet_13
_tokenSet_14
public static final antlr.collections.impl.BitSet _tokenSet_14
_tokenSet_15
public static final antlr.collections.impl.BitSet _tokenSet_15
_tokenSet_16
public static final antlr.collections.impl.BitSet _tokenSet_16
_tokenSet_17
public static final antlr.collections.impl.BitSet _tokenSet_17
OQLParser
public OQLParser(antlr.TokenBuffer tokenBuf)
OQLParser
public OQLParser(antlr.TokenStream lexer)
OQLParser
public OQLParser(antlr.ParserSharedInputState state)
buildQuery
public final Query buildQuery()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
selectQuery
public final QueryByCriteria selectQuery()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
projectionAttributes
public final java.lang.String[] projectionAttributes()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
fromClause
public final java.lang.Class fromClause()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
whereClause
public final void whereClause(Criteria criteria)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
orderClause
public final void orderClause(QueryByCriteria query)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
groupClause
public final void groupClause(QueryByCriteria query)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
prefetchClause
public final void prefetchClause(QueryByCriteria query)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
existsQuery
public final Query existsQuery()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
orExpr
public final void orExpr(Criteria criteria)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
sortCriterion
public final void sortCriterion(QueryByCriteria query)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
groupCriterion
public final void groupCriterion(QueryByCriteria query)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
prefetchCriterion
public final void prefetchCriterion(QueryByCriteria query)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
andExpr
public final void andExpr(Criteria criteria)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
quantifierExpr
public final void quantifierExpr(Criteria criteria)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
equalityExpr
public final void equalityExpr(Criteria criteria)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
likeExpr
public final void likeExpr(Criteria criteria)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
undefinedExpr
public final void undefinedExpr(Criteria criteria)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
betweenExpr
public final void betweenExpr(Criteria criteria)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
inExpr
public final void inExpr(Criteria criteria)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
existsExpr
public final void existsExpr(Criteria criteria)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
literal
public final java.lang.Object literal()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
argList
public final java.util.Collection argList()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
(C) 2002 - 2005 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30