public class ExpressionParser extends Object implements ExpressionParserConstants
| Modifier and Type | Field and Description |
|---|---|
Token |
jj_nt
Next token.
|
Token |
token
Current token.
|
ExpressionParserTokenManager |
token_source
Generated Token Manager.
|
ABS, AND, AS, ASC, ASTERISK, AVG, BETWEEN, BY, CASE, CLOSEPARENTHESIS, COALESCE, COMMA, CONCAT, COUNT, CROSS, CURRENT_DATE, CURRENT_TIME, DAYOFMONTH, DEFAULT, DERIVEDTABLEOPENPARENTHESIS, DESC, DIGITS, DISTINCT, DIVIDE, DOT, ELSE, END, EOF, EQUALS, ESCAPE, EXISTS, EXPONENT, FROM, FULL, GREATERTHAN, GREATERTHANEQUALS, GROUP, HAVING, HOUROFDAY, IN, IN_C_COMMENT, IN_TABLE, INNER, IS, JOIN, LEFT, LENGTH, LESSTHAN, LESSTHANEQUALS, LIKE, LIMIT, LOWER, LTRIM, MAX, MIN, MINUS, MINUTE, MODULO, MONTH, NAME, NAMEASTERISK, NOT, NOTEQUALS, NULL, NULLIF, OFFSET, ON, OPENPARENTHESIS, OR, ORDER, OUTER, PLACEHOLDER, PLUS, QUOTEDTABLENAME, RIGHT, ROUND, RTRIM, SECOND, SELECT, SEMICOLON, SINGLELINECOMMENT, STRING, STRING_AGG, SUBSTRING, SUM, TABLENAME, THEN, tokenImage, TRIM, TYPESUFFIX, UNEXPECTED_CHAR, UNSIGNEDINT, UNSIGNEDNUMBER, UPPER, WHEN, WHERE, YEAR| Constructor and Description |
|---|
ExpressionParser(ExpressionParserTokenManager tm)
Constructor with generated Token Manager.
|
ExpressionParser(InputStream stream)
Constructor with InputStream.
|
ExpressionParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
ExpressionParser(Reader stream)
Constructor.
|
public ExpressionParserTokenManager token_source
public Token token
public Token jj_nt
public ExpressionParser(InputStream stream)
public ExpressionParser(InputStream stream, String encoding)
public ExpressionParser(Reader stream)
public ExpressionParser(ExpressionParserTokenManager tm)
public void parseLogicalExpression()
throws ParseException
ParseExceptionpublic void parseGroupByEntry()
throws ParseException
ParseExceptionpublic void parseOrderByEntry()
throws ParseException
ParseExceptionpublic void parseQueryEnvEntry()
throws ParseException
ParseExceptionpublic org.relique.jdbc.csv.ParsedStatement parseSingleStatement()
throws ParseException
ParseExceptionpublic List<org.relique.jdbc.csv.ParsedStatement> parseMultipleStatements() throws ParseException
ParseExceptionpublic Object eval(Map<String,Object> env) throws SQLException
SQLExceptionpublic Date getCurrentDate()
public Time getCurrentTime()
public final org.relique.jdbc.csv.ParsedExpression logicalExpression()
throws ParseException
ParseExceptionpublic final org.relique.jdbc.csv.ParsedTable firstTableEntry()
throws ParseException
ParseExceptionpublic final org.relique.jdbc.csv.LogicalExpression onEntry()
throws ParseException
ParseExceptionpublic final org.relique.jdbc.csv.ParsedTable tableEntry()
throws ParseException
ParseExceptionpublic final org.relique.jdbc.csv.ParsedTable joinedTableEntry()
throws ParseException
ParseExceptionpublic final org.relique.jdbc.csv.ParsedExpression groupByEntry()
throws ParseException
ParseExceptionpublic final org.relique.jdbc.csv.ParsedExpression orderByEntry()
throws ParseException
ParseExceptionpublic final List<org.relique.jdbc.csv.ParsedStatement> multipleStatements() throws ParseException
ParseExceptionpublic final org.relique.jdbc.csv.ParsedStatement singleStatement()
throws ParseException
ParseExceptionpublic final org.relique.jdbc.csv.ParsedStatement selectStatement()
throws ParseException
ParseExceptionpublic final org.relique.jdbc.csv.ParsedExpression queryEnvEntry()
throws ParseException
ParseExceptionpublic final Expression logicalOrExpression() throws ParseException
ParseExceptionpublic final Expression logicalAndExpression() throws ParseException
ParseExceptionpublic final Expression logicalUnaryExpression() throws ParseException
ParseExceptionpublic final org.relique.jdbc.csv.LogicalExpression inListExpression(Expression arg) throws ParseException
ParseExceptionpublic final Expression relationalExpression() throws ParseException
ParseExceptionpublic final String relOp() throws ParseException
ParseExceptionpublic final String binAddOp() throws ParseException
ParseExceptionpublic final String binMultiplyOp() throws ParseException
ParseExceptionpublic final Expression countOperation() throws ParseException
ParseExceptionpublic final Expression binaryOperation() throws ParseException
ParseExceptionpublic final Expression multiplyOperation() throws ParseException
ParseExceptionpublic final Expression simpleExpression() throws ParseException
ParseExceptionpublic final Expression searchedCaseExpression() throws ParseException
ParseExceptionpublic final Expression simpleCaseExpression() throws ParseException
ParseExceptionpublic final Expression columnName() throws ParseException
ParseExceptionpublic final Expression numericConstant() throws ParseException
ParseExceptionpublic final Expression stringConstant() throws ParseException
ParseExceptionpublic final String stringConstantAtom() throws ParseException
ParseExceptionpublic final Expression columnAlias() throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(ExpressionParserTokenManager 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 © 2016. All rights reserved.