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
ParseException
public void parseGroupByEntry() throws ParseException
ParseException
public void parseOrderByEntry() throws ParseException
ParseException
public void parseQueryEnvEntry() throws ParseException
ParseException
public org.relique.jdbc.csv.ParsedStatement parseSingleStatement() throws ParseException
ParseException
public List<org.relique.jdbc.csv.ParsedStatement> parseMultipleStatements() throws ParseException
ParseException
public Object eval(Map<String,Object> env) throws SQLException
SQLException
public Date getCurrentDate()
public Time getCurrentTime()
public final org.relique.jdbc.csv.ParsedExpression logicalExpression() throws ParseException
ParseException
public final org.relique.jdbc.csv.ParsedTable firstTableEntry() throws ParseException
ParseException
public final org.relique.jdbc.csv.LogicalExpression onEntry() throws ParseException
ParseException
public final org.relique.jdbc.csv.ParsedTable tableEntry() throws ParseException
ParseException
public final org.relique.jdbc.csv.ParsedTable joinedTableEntry() throws ParseException
ParseException
public final org.relique.jdbc.csv.ParsedExpression groupByEntry() throws ParseException
ParseException
public final org.relique.jdbc.csv.ParsedExpression orderByEntry() throws ParseException
ParseException
public final List<org.relique.jdbc.csv.ParsedStatement> multipleStatements() throws ParseException
ParseException
public final org.relique.jdbc.csv.ParsedStatement singleStatement() throws ParseException
ParseException
public final org.relique.jdbc.csv.ParsedStatement selectStatement() throws ParseException
ParseException
public final org.relique.jdbc.csv.ParsedExpression queryEnvEntry() throws ParseException
ParseException
public final Expression logicalOrExpression() throws ParseException
ParseException
public final Expression logicalAndExpression() throws ParseException
ParseException
public final Expression logicalUnaryExpression() throws ParseException
ParseException
public final org.relique.jdbc.csv.LogicalExpression inListExpression(Expression arg) throws ParseException
ParseException
public final Expression relationalExpression() throws ParseException
ParseException
public final String relOp() throws ParseException
ParseException
public final String binAddOp() throws ParseException
ParseException
public final String binMultiplyOp() throws ParseException
ParseException
public final Expression countOperation() throws ParseException
ParseException
public final Expression binaryOperation() throws ParseException
ParseException
public final Expression multiplyOperation() throws ParseException
ParseException
public final Expression simpleExpression() throws ParseException
ParseException
public final Expression searchedCaseExpression() throws ParseException
ParseException
public final Expression simpleCaseExpression() throws ParseException
ParseException
public final Expression columnName() throws ParseException
ParseException
public final Expression numericConstant() throws ParseException
ParseException
public final Expression stringConstant() throws ParseException
ParseException
public final String stringConstantAtom() throws ParseException
ParseException
public final Expression columnAlias() throws ParseException
ParseException
public 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 © 2019. All rights reserved.