public class SelectorParser<E> extends Object implements SelectorParserConstants
| Modifier and Type | Field and Description |
|---|---|
Token |
jj_nt
Next token.
|
Token |
token
Current token.
|
SelectorParserTokenManager |
token_source
Generated Token Manager.
|
AND, BETWEEN, BLOCK_COMMENT, DECIMAL_LITERAL, DEFAULT, EOF, ESCAPE, EXPONENT, FALSE, FLOATING_POINT_LITERAL, HEX_LITERAL, ID, IN, IS, LIKE, LINE_COMMENT, NOT, NULL, OCTAL_LITERAL, OR, QUOTED_ID, STRING_LITERAL, tokenImage, TRUE| Constructor and Description |
|---|
SelectorParser() |
SelectorParser(InputStream stream)
Constructor with InputStream.
|
SelectorParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
SelectorParser(Reader stream)
Constructor.
|
SelectorParser(SelectorParserTokenManager tm)
Constructor with generated Token Manager.
|
| Modifier and Type | Method and Description |
|---|---|
Expression |
addExpression() |
Expression |
andExpression() |
Expression |
comparisonExpression() |
void |
disable_tracing()
Disable tracing.
|
void |
enable_tracing()
Enable tracing.
|
Expression |
equalityExpression() |
ParseException |
generateParseException()
Generate ParseException.
|
Token |
getNextToken()
Get the next Token.
|
Token |
getToken(int index)
Get the specific Token.
|
BooleanExpression |
JmsSelector() |
ConstantExpression |
literal() |
Expression |
multExpr() |
Expression |
orExpression() |
BooleanExpression<E> |
parse(String sql) |
Expression |
primaryExpr() |
void |
ReInit(InputStream stream)
Reinitialise.
|
void |
ReInit(InputStream stream,
String encoding)
Reinitialise.
|
void |
ReInit(Reader stream)
Reinitialise.
|
void |
ReInit(SelectorParserTokenManager tm)
Reinitialise.
|
void |
setPropertyExpressionFactory(PropertyExpressionFactory<E> factory) |
String |
stringLiteral() |
Expression |
unaryExpr() |
PropertyExpression |
variable() |
public SelectorParserTokenManager token_source
public Token token
public Token jj_nt
public SelectorParser()
public SelectorParser(InputStream stream)
public SelectorParser(InputStream stream, String encoding)
public SelectorParser(Reader stream)
public SelectorParser(SelectorParserTokenManager tm)
public void setPropertyExpressionFactory(PropertyExpressionFactory<E> factory)
public BooleanExpression<E> parse(String sql) throws ParseException
ParseExceptionpublic final BooleanExpression JmsSelector() throws ParseException
ParseExceptionpublic final Expression orExpression() throws ParseException
ParseExceptionpublic final Expression andExpression() throws ParseException
ParseExceptionpublic final Expression equalityExpression() throws ParseException
ParseExceptionpublic final Expression comparisonExpression() throws ParseException
ParseExceptionpublic final Expression addExpression() throws ParseException
ParseExceptionpublic final Expression multExpr() throws ParseException
ParseExceptionpublic final Expression unaryExpr() throws ParseException
ParseExceptionpublic final Expression primaryExpr() throws ParseException
ParseExceptionpublic final ConstantExpression literal() throws ParseException
ParseExceptionpublic final String stringLiteral() throws ParseException
ParseExceptionpublic final PropertyExpression variable() throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(SelectorParserTokenManager 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 © 2006–2018 The Apache Software Foundation. All rights reserved.