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) |
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
InvalidSelectorExceptionpublic static void clearCache()
protected BooleanExpression parse() throws InvalidSelectorException
InvalidSelectorExceptionpublic 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 functionCallExpr() throws ParseException
ParseExceptionpublic final Expression primaryExpr() throws ParseException
ParseExceptionpublic final ConstantExpression literal() throws ParseException
ParseExceptionpublic final String stringLitteral() throws ParseException
ParseExceptionpublic final PropertyExpression variable() throws ParseException
ParseExceptionpublic 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.