public class OQLParser extends antlr.LLkParser implements OQLLexerTokenTypes
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
_tokenNames |
static antlr.collections.impl.BitSet |
_tokenSet_0 |
static antlr.collections.impl.BitSet |
_tokenSet_1 |
static antlr.collections.impl.BitSet |
_tokenSet_10 |
static antlr.collections.impl.BitSet |
_tokenSet_11 |
static antlr.collections.impl.BitSet |
_tokenSet_12 |
static antlr.collections.impl.BitSet |
_tokenSet_13 |
static antlr.collections.impl.BitSet |
_tokenSet_14 |
static antlr.collections.impl.BitSet |
_tokenSet_15 |
static antlr.collections.impl.BitSet |
_tokenSet_16 |
static antlr.collections.impl.BitSet |
_tokenSet_17 |
static antlr.collections.impl.BitSet |
_tokenSet_2 |
static antlr.collections.impl.BitSet |
_tokenSet_3 |
static antlr.collections.impl.BitSet |
_tokenSet_4 |
static antlr.collections.impl.BitSet |
_tokenSet_5 |
static antlr.collections.impl.BitSet |
_tokenSet_6 |
static antlr.collections.impl.BitSet |
_tokenSet_7 |
static antlr.collections.impl.BitSet |
_tokenSet_8 |
static antlr.collections.impl.BitSet |
_tokenSet_9 |
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 and Description |
---|
OQLParser(antlr.ParserSharedInputState state) |
OQLParser(antlr.TokenBuffer tokenBuf) |
OQLParser(antlr.TokenStream lexer) |
Modifier and Type | Method and Description |
---|---|
void |
andExpr(Criteria criteria) |
java.util.Collection |
argList() |
void |
betweenExpr(Criteria criteria) |
Query |
buildQuery() |
void |
equalityExpr(Criteria criteria) |
void |
existsExpr(Criteria criteria) |
Query |
existsQuery() |
java.lang.Class |
fromClause() |
void |
groupClause(QueryByCriteria query) |
void |
groupCriterion(QueryByCriteria query) |
void |
inExpr(Criteria criteria) |
void |
likeExpr(Criteria criteria) |
java.lang.Object |
literal() |
void |
orderClause(QueryByCriteria query) |
void |
orExpr(Criteria criteria) |
void |
prefetchClause(QueryByCriteria query) |
void |
prefetchCriterion(QueryByCriteria query) |
java.lang.String[] |
projectionAttributes() |
void |
quantifierExpr(Criteria criteria) |
QueryByCriteria |
selectQuery() |
void |
sortCriterion(QueryByCriteria query) |
void |
undefinedExpr(Criteria criteria) |
void |
whereClause(Criteria criteria) |
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
public static final java.lang.String[] _tokenNames
public static final antlr.collections.impl.BitSet _tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_1
public static final antlr.collections.impl.BitSet _tokenSet_2
public static final antlr.collections.impl.BitSet _tokenSet_3
public static final antlr.collections.impl.BitSet _tokenSet_4
public static final antlr.collections.impl.BitSet _tokenSet_5
public static final antlr.collections.impl.BitSet _tokenSet_6
public static final antlr.collections.impl.BitSet _tokenSet_7
public static final antlr.collections.impl.BitSet _tokenSet_8
public static final antlr.collections.impl.BitSet _tokenSet_9
public static final antlr.collections.impl.BitSet _tokenSet_10
public static final antlr.collections.impl.BitSet _tokenSet_11
public static final antlr.collections.impl.BitSet _tokenSet_12
public static final antlr.collections.impl.BitSet _tokenSet_13
public static final antlr.collections.impl.BitSet _tokenSet_14
public static final antlr.collections.impl.BitSet _tokenSet_15
public static final antlr.collections.impl.BitSet _tokenSet_16
public static final antlr.collections.impl.BitSet _tokenSet_17
public OQLParser(antlr.TokenBuffer tokenBuf)
public OQLParser(antlr.TokenStream lexer)
public OQLParser(antlr.ParserSharedInputState state)
public final Query buildQuery() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final QueryByCriteria selectQuery() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final java.lang.String[] projectionAttributes() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final java.lang.Class fromClause() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void whereClause(Criteria criteria) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void orderClause(QueryByCriteria query) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void groupClause(QueryByCriteria query) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void prefetchClause(QueryByCriteria query) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final Query existsQuery() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void orExpr(Criteria criteria) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void sortCriterion(QueryByCriteria query) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void groupCriterion(QueryByCriteria query) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void prefetchCriterion(QueryByCriteria query) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void andExpr(Criteria criteria) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void quantifierExpr(Criteria criteria) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void equalityExpr(Criteria criteria) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void likeExpr(Criteria criteria) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void undefinedExpr(Criteria criteria) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void betweenExpr(Criteria criteria) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void inExpr(Criteria criteria) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final void existsExpr(Criteria criteria) throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final java.lang.Object literal() throws antlr.RecognitionException, antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
public final java.util.Collection argList() throws antlr.RecognitionException, antlr.TokenStreamException
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