public class SelectorParser 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, STRING_LITERAL, tokenImage, TRUE, XPATH, XQUERY
Modifier | Constructor and Description |
---|---|
|
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.
|
protected |
SelectorParser(String sql) |
Modifier and Type | Method and Description |
---|---|
Expression |
addExpression() |
Expression |
andExpression() |
static void |
clearCache() |
Expression |
comparisonExpression() |
void |
disable_tracing()
Disable tracing.
|
void |
enable_tracing()
Enable tracing.
|
Expression |
equalityExpression() |
Expression |
functionCallExpr() |
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() |
protected BooleanExpression |
parse() |
static BooleanExpression |
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.
|
String |
stringLitteral() |
Expression |
unaryExpr() |
PropertyExpression |
variable() |
public SelectorParserTokenManager token_source
protected SelectorParser(String sql)
public SelectorParser(InputStream stream)
public SelectorParser(InputStream stream, String encoding)
public SelectorParser(Reader stream)
public SelectorParser(SelectorParserTokenManager tm)
public static BooleanExpression parse(String sql) throws InvalidSelectorException
InvalidSelectorException
public static void clearCache()
protected BooleanExpression parse() throws InvalidSelectorException
InvalidSelectorException
public final BooleanExpression JmsSelector() throws ParseException
ParseException
public final Expression orExpression() throws ParseException
ParseException
public final Expression andExpression() throws ParseException
ParseException
public final Expression equalityExpression() throws ParseException
ParseException
public final Expression comparisonExpression() throws ParseException
ParseException
public final Expression addExpression() throws ParseException
ParseException
public final Expression multExpr() throws ParseException
ParseException
public final Expression unaryExpr() throws ParseException
ParseException
public final Expression functionCallExpr() throws ParseException
ParseException
public final Expression primaryExpr() throws ParseException
ParseException
public final ConstantExpression literal() throws ParseException
ParseException
public final String stringLitteral() throws ParseException
ParseException
public final PropertyExpression variable() throws ParseException
ParseException
public void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(SelectorParserTokenManager tm)
public final Token getNextToken()
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.