public class JCRSQLParser extends java.lang.Object implements JCRSQLParserTreeConstants, JCRSQLParserConstants
Modifier and Type | Field and Description |
---|---|
Token |
jj_nt |
Token |
token |
JCRSQLParserTokenManager |
token_source |
JJTANDEXPRESSION, JJTASCENDINGORDERSPEC, JJTBRACKETEXPRESSION, JJTCONTAINSEXPRESSION, JJTDESCENDINGORDERSPEC, JJTEXCERPTFUNCTION, JJTFROMCLAUSE, JJTIDENTIFIER, JJTLITERAL, JJTLOWERFUNCTION, jjtNodeName, JJTNOTEXPRESSION, JJTORDERBYCLAUSE, JJTORDERSPEC, JJTOREXPRESSION, JJTPREDICATE, JJTQUERY, JJTSELECTLIST, JJTUPPERFUNCTION, JJTVOID, JJTWHERECLAUSE
AMPERSAND, AND, APPROXIMATE_NUMERIC_LITERAL, ASC, ASTERISK, BASE_CHAR, BETWEEN, BY, CHAR_REPRESENTATION, CHAR_STRING_LITERAL, COLON, COMMA, COMMENT, COMMENT_CHAR, COMMENT_INTRO, CONCAT_OPERATOR, CONTAINS, DATE_LITERAL, DATE_STRING, DATE_VALUE, DATETIME_LITERAL, DATETIME_VALUE, DAYS_VALUE, DEFAULT, DELIMITED_IDENTIFIER, DELIMITED_IDENTIFIER_BODY, DELIMITED_IDENTIFIER_PART, DESC, DIGIT, DOUBLE_PERIOD, DOUBLE_QUOTE, DOUBLE_QUOTE_SYMBOL, EOF, EQ_OPERATOR, ESCAPE, EXACT_NUMERIC_LITERAL, EXCERPT, EXPONENT, FROM, GE_OPERATOR, GT_OPERATOR, HOURS_VALUE, IDENTIFIER_BODY, IDENTIFIER_PART, IDENTIFIER_START, IDEOGRAPHIC, IN, IS, LE_OPERATOR, LEFT_BRACKET, LEFT_PAREN, LETTER, LIKE, LOWER, LT_OPERATOR, MANTISSA, MINUS_SIGN, MINUTES_VALUE, MONTHS_VALUE, NE_OPERATOR, NON_DOUBLE_QUOTE_CHAR, NON_QUOTE_CHAR, NOT, NULL, OR, ORDER, PERCENT, PERIOD, PLUS_SIGN, QUESTION_MARK, QUOTE, QUOTE_SYMBOL, REGULAR_IDENTIFIER, RIGHT_BRACKET, RIGHT_PAREN, SECONDS_FRACTION, SECONDS_INTEGER_VALUE, SECONDS_VALUE, SELECT, SEMICOLON, SIGN, SIGNED_INTEGER, SIMILAR, SIMPLE_LATIN_LETTER, SIMPLE_LATIN_LOWER_CASE_LETTER, SIMPLE_LATIN_UPPER_CASE_LETTER, SOLIDUS, SPELLCHECK, TIME_VALUE, TIME_ZONE_INTERVAL, TIMESTAMP_LITERAL, TIMESTAMP_STRING, tokenImage, UNDERSCORE, UNSIGNED_INTEGER, UPPER, VERTICAL_BAR, WHERE, YEARS_VALUE
Constructor and Description |
---|
JCRSQLParser(java.io.InputStream stream) |
JCRSQLParser(java.io.InputStream stream,
java.lang.String encoding) |
JCRSQLParser(JCRSQLParserTokenManager tm) |
JCRSQLParser(java.io.Reader stream) |
public JCRSQLParserTokenManager token_source
public Token token
public Token jj_nt
public JCRSQLParser(java.io.InputStream stream)
public JCRSQLParser(java.io.InputStream stream, java.lang.String encoding)
public JCRSQLParser(java.io.Reader stream)
public JCRSQLParser(JCRSQLParserTokenManager tm)
public static void main(java.lang.String[] args) throws ParseException
ParseException
public static ASTQuery parse(java.lang.String statement, NameResolver resolver) throws ParseException
ParseException
public final ASTQuery Query() throws ParseException
ParseException
public final void SelectList() throws ParseException
ParseException
public final void SelectItem() throws ParseException
ParseException
public final void TableExpression() throws ParseException
ParseException
public final void FromClause() throws ParseException
ParseException
public final void WhereClause() throws ParseException
ParseException
public final void Predicate() throws ParseException
ParseException
public final Name PropertyFunction() throws ParseException
ParseException
public final Name LowerFunction() throws ParseException
ParseException
public final Name UpperFunction() throws ParseException
ParseException
public final int ComparisonOperation() throws ParseException
ParseException
public final void SearchCondition() throws ParseException
ParseException
public final void OrExpression() throws ParseException
ParseException
public final void AndExpression() throws ParseException
ParseException
public final void UnaryExpression() throws ParseException
ParseException
public final void PrimaryExpression() throws ParseException
ParseException
public final void BracketExpression() throws ParseException
ParseException
public final void ContainsExpression() throws ParseException
ParseException
public final void Literal() throws ParseException
ParseException
public final java.lang.String CharStringLiteral() throws ParseException
ParseException
public final Name Identifier() throws ParseException
ParseException
public final Name ExcerptFunction() throws ParseException
ParseException
public final void OrderByClause() throws ParseException
ParseException
public final void OrderSpec() throws ParseException
ParseException
public final void AscendingOrderSpec() throws ParseException
ParseException
public final void DescendingOrderSpec() throws ParseException
ParseException
public void ReInit(java.io.InputStream stream)
public void ReInit(java.io.InputStream stream, java.lang.String encoding)
public void ReInit(java.io.Reader stream)
public void ReInit(JCRSQLParserTokenManager 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 © 2010 - 2020 Adobe. All Rights Reserved