public class JPQL extends Object implements JPQLTreeConstants, JPQLConstants
Modifier and Type | Field and Description |
---|---|
Token |
jj_nt
Next token.
|
protected JJTJPQLState |
jjtree |
Token |
token
Current token.
|
JPQLTokenManager |
token_source
Generated Token Manager.
|
JJTABS, JJTABSTRACTSCHEMANAME, JJTADD, JJTAGGREGATE, JJTALL, JJTAND, JJTANY, JJTASCENDING, JJTAVERAGE, JJTBETWEEN, JJTBOOLEANLITERAL, JJTCASE, JJTCLASSNAME, JJTCOALESCE, JJTCOLLECTIONPARAMETER, JJTCONCAT, JJTCONSTRUCTOR, JJTCONSTRUCTORPARAM, JJTCONSTRUCTORPARAMS, JJTCOUNT, JJTCURRENTDATE, JJTCURRENTTIME, JJTCURRENTTIMESTAMP, JJTDATELITERAL, JJTDECIMALLITERAL, JJTDELETE, JJTDESCENDING, JJTDISTINCT, JJTDISTINCTPATH, JJTDIVIDE, JJTENTRY, JJTEQUALS, JJTESCAPECHARACTER, JJTEXISTS, JJTFROM, JJTFROMITEM, JJTGENERALCASE, JJTGENERALIDENTIFIER, JJTGREATEROREQUAL, JJTGREATERTHAN, JJTGROUPBY, JJTGROUPBYEXTENSION, JJTHAVING, JJTIDENTIFICATIONVARIABLE, JJTIDENTIFIER, JJTIN, JJTINDEX, JJTINNERFETCHJOIN, JJTINNERJOIN, JJTINTEGERLITERAL, JJTISEMPTY, JJTISNULL, JJTKEY, JJTLENGTH, JJTLESSOREQUAL, JJTLESSTHAN, JJTLIKE, JJTLOCATE, JJTLOWER, JJTMAX, JJTMEMBEROF, JJTMIN, JJTMOD, JJTMULTIPLY, JJTNAMEDINPUTPARAMETER, JJTNEGATIVE, jjtNodeName, JJTNOT, JJTNOTEQUALS, JJTNULLIF, JJTOR, JJTORDERBY, JJTORDERBYEXTENSION, JJTORDERBYITEM, JJTOUTERFETCHJOIN, JJTOUTERJOIN, JJTPATH, JJTPATTERNVALUE, JJTPOSITIONALINPUTPARAMETER, JJTQUALIFIEDIDENTIFIER, JJTQUALIFIEDPATH, JJTSCALAREXPRESSION, JJTSELECT, JJTSELECTCLAUSE, JJTSELECTEXPRESSION, JJTSELECTEXPRESSIONS, JJTSELECTEXTENSION, JJTSIMPLECASE, JJTSIZE, JJTSQRT, JJTSTRINGLITERAL, JJTSTRINGLITERAL2, JJTSUBSELECT, JJTSUBSTRING, JJTSUBTRACT, JJTSUM, JJTTIMELITERAL, JJTTIMESTAMPLITERAL, JJTTOK, JJTTRIM, JJTTRIMBOTH, JJTTRIMCHARACTER, JJTTRIMLEADING, JJTTRIMTRAILING, JJTTYPE, JJTTYPELITERAL, JJTUPDATE, JJTUPDATEITEM, JJTUPDATEVALUE, JJTUPPER, JJTVALUE, JJTVOID, JJTWHEN, JJTWHENSCALAR, JJTWHERE
ABS, ALL, AND, ANY, AS, ASC, AVG, BETWEEN, BOOLEAN_LITERAL, BOTH, BY, CASE, CHARACTER_LITERAL, CLASS, COALESCE, COMMA, CONCAT, COUNT, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, DATE_LITERAL, DECIMAL_LITERAL, DEFAULT, DELETE, DESC, DIGIT, DISTINCT, DIV, DOT, ELSE, EMPTY, END, ENTRY, EOF, EQ, ESCAPE, EXISTS, EXPONENT, FETCH, FROM, GE, GROUP, GT, HAVING, IDENTIFIER, IN, INDEX, INNER, INTEGER_LITERAL, IS, JOIN, KEY, LE, LEADING, LEFT, LENGTH, LETTER, LIKE, LOCATE, LOWER, LT, MAX, MEMBER, MIN, MINUS, MOD, NE, NEW, NOT, NULL, NULLIF, OBJECT, OF, OR, ORDER, OUTER, PLUS, SELECT, SET, SIZE, SOME, SQRT, STRING_LITERAL, STRING_LITERAL2, SUBSTRING, SUM, THEN, TIME_LITERAL, TIMES, TIMESTAMP_LITERAL, tokenImage, TRAILING, TRIM, TYPE, UPDATE, UPPER, VALUE, WHEN, WHERE
Constructor and Description |
---|
JPQL(InputStream stream)
Constructor with InputStream.
|
JPQL(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
JPQL(JPQLTokenManager tm)
Constructor with generated Token Manager.
|
JPQL(Reader stream)
Constructor.
|
JPQL(String jpql) |
protected JJTJPQLState jjtree
public JPQLTokenManager token_source
public Token token
public Token jj_nt
public JPQL(String jpql)
public JPQL(InputStream stream)
public JPQL(InputStream stream, String encoding)
public JPQL(Reader stream)
public JPQL(JPQLTokenManager tm)
public final Node parseQuery() throws ParseException
ParseException
public final void select_statement() throws ParseException
ParseException
public final void update_statement() throws ParseException
ParseException
public final void delete_statement() throws ParseException
ParseException
public final void from_clause() throws ParseException
ParseException
public final void identification_variable_declaration() throws ParseException
ParseException
public final void from_item() throws ParseException
ParseException
public final void subquery_from_clause() throws ParseException
ParseException
public final void subselect_identification_variable_declaration() throws ParseException
ParseException
public final void subquery_from_item() throws ParseException
ParseException
public final void inner_join() throws ParseException
ParseException
public final void collection_member_declaration() throws ParseException
ParseException
public final void outer_join() throws ParseException
ParseException
public final void fetch_join() throws ParseException
ParseException
public final void outer_fetch_join() throws ParseException
ParseException
public final void inner_fetch_join() throws ParseException
ParseException
public final void path() throws ParseException
ParseException
public final void update_clause() throws ParseException
ParseException
public final void set_clause() throws ParseException
ParseException
public final void update_item() throws ParseException
ParseException
public final void new_value() throws ParseException
ParseException
public final void simple_entity_expression() throws ParseException
ParseException
public final void select_clause() throws ParseException
ParseException
public final void simple_select_clause() throws ParseException
ParseException
public final void select_expressions() throws ParseException
ParseException
public final void select_expression() throws ParseException
ParseException
public final void select_extension() throws ParseException
ParseException
public final void subselect_expressions() throws ParseException
ParseException
public final void subselect_expression() throws ParseException
ParseException
public final void constructor_expression() throws ParseException
ParseException
public final void classname() throws ParseException
ParseException
public final void constructor_parameters() throws ParseException
ParseException
public final void constructor_parameter() throws ParseException
ParseException
public final void aggregate_select_expression() throws ParseException
ParseException
public final void distinct() throws ParseException
ParseException
public final void aggregate_path() throws ParseException
ParseException
public final void distinct_path() throws ParseException
ParseException
public final void count() throws ParseException
ParseException
public final void avg() throws ParseException
ParseException
public final void max() throws ParseException
ParseException
public final void min() throws ParseException
ParseException
public final void sum() throws ParseException
ParseException
public final void where_clause() throws ParseException
ParseException
public final void groupby_clause() throws ParseException
ParseException
public final void groupby_item() throws ParseException
ParseException
public final void groupby_extension() throws ParseException
ParseException
public final void having_clause() throws ParseException
ParseException
public final void subquery() throws ParseException
ParseException
public final void conditional_expression() throws ParseException
ParseException
public final void conditional_term() throws ParseException
ParseException
public final void conditional_factor() throws ParseException
ParseException
public final void conditional_primary() throws ParseException
ParseException
public final void simple_cond_expression() throws ParseException
ParseException
public final void between_expression() throws ParseException
ParseException
public final void in_expression() throws ParseException
ParseException
public final void entity_type_literal() throws ParseException
ParseException
public final void literal_or_param() throws ParseException
ParseException
public final void like_expression() throws ParseException
ParseException
public final void null_comparison_expression() throws ParseException
ParseException
public final void empty_collection_comparison_expression() throws ParseException
ParseException
public final void collection_member_expression() throws ParseException
ParseException
public final void exists_expression() throws ParseException
ParseException
public final void all_or_any_expression() throws ParseException
ParseException
public final void any_expression() throws ParseException
ParseException
public final void some_expression() throws ParseException
ParseException
public final void all_expression() throws ParseException
ParseException
public final void comparison_expression() throws ParseException
ParseException
public final void string_comp() throws ParseException
ParseException
public final void boolean_comp() throws ParseException
ParseException
public final void enum_comp() throws ParseException
ParseException
public final void entity_comp() throws ParseException
ParseException
public final void arithmetic_comp() throws ParseException
ParseException
public final void datetime_comp() throws ParseException
ParseException
public final void scalar_function() throws ParseException
ParseException
public final void arithmetic_value() throws ParseException
ParseException
public final void arithmetic_expression() throws ParseException
ParseException
public final void arithmetic_term() throws ParseException
ParseException
public final void arithmetic_factor() throws ParseException
ParseException
public final void qualified_path() throws ParseException
ParseException
public final void qualified_identification_variable() throws ParseException
ParseException
public final void general_identification_variable() throws ParseException
ParseException
public final void entity_type_comp() throws ParseException
ParseException
public final void type_discriminator() throws ParseException
ParseException
public final void entity_type_expression() throws ParseException
ParseException
public final void scalar_expression() throws ParseException
ParseException
public final void case_expression() throws ParseException
ParseException
public final void general_case_expression() throws ParseException
ParseException
public final void when_clause() throws ParseException
ParseException
public final void simple_case_expression() throws ParseException
ParseException
public final void simple_when_clause() throws ParseException
ParseException
public final void coalesce_expression() throws ParseException
ParseException
public final void nullif_expression() throws ParseException
ParseException
public final void negative() throws ParseException
ParseException
public final void string_value() throws ParseException
ParseException
public final void string_expression() throws ParseException
ParseException
public final void string_primary() throws ParseException
ParseException
public final void datetime_expression() throws ParseException
ParseException
public final void datetime_primary() throws ParseException
ParseException
public final void boolean_value() throws ParseException
ParseException
public final void boolean_expression() throws ParseException
ParseException
public final void boolean_primary() throws ParseException
ParseException
public final void enum_expression() throws ParseException
ParseException
public final void enum_primary() throws ParseException
ParseException
public final void enum_literal() throws ParseException
ParseException
public final void entity_bean_value() throws ParseException
ParseException
public final void entity_bean_expression() throws ParseException
ParseException
public final void functions_returning_strings() throws ParseException
ParseException
public final void concat() throws ParseException
ParseException
public final void substring() throws ParseException
ParseException
public final void trim() throws ParseException
ParseException
public final void lower() throws ParseException
ParseException
public final void upper() throws ParseException
ParseException
public final void trim_specification() throws ParseException
ParseException
public final void functions_returning_numerics() throws ParseException
ParseException
public final void length() throws ParseException
ParseException
public final void locate() throws ParseException
ParseException
public final void abs() throws ParseException
ParseException
public final void sqrt() throws ParseException
ParseException
public final void mod() throws ParseException
ParseException
public final void size() throws ParseException
ParseException
public final void index() throws ParseException
ParseException
public final void functions_returning_datetime() throws ParseException
ParseException
public final void orderby_clause() throws ParseException
ParseException
public final void orderby_item() throws ParseException
ParseException
public final void orderby_extension() throws ParseException
ParseException
public final void abstract_schema_name() throws ParseException
ParseException
public final void tok() throws ParseException
ParseException
public final void identification_variable() throws ParseException
ParseException
public final void path_component() throws ParseException
ParseException
public final void literal() throws ParseException
ParseException
public final void numeric_literal() throws ParseException
ParseException
public final void integer_literal() throws ParseException
ParseException
public final void decimal_literal() throws ParseException
ParseException
public final void boolean_literal() throws ParseException
ParseException
public final void string_literal() throws ParseException
ParseException
public final void string_literal2() throws ParseException
ParseException
public final void date_literal() throws ParseException
ParseException
public final void time_literal() throws ParseException
ParseException
public final void timestamp_literal() throws ParseException
ParseException
public final void input_parameter() throws ParseException
ParseException
public final void collection_valued_input_parameter() throws ParseException
ParseException
public final void named_input_parameter() throws ParseException
ParseException
public final void positional_input_parameter() throws ParseException
ParseException
public final void pattern_value() throws ParseException
ParseException
public final void escape_character() throws ParseException
ParseException
public final void trim_character() throws ParseException
ParseException
public final void EQ() throws ParseException
ParseException
public final void NE() throws ParseException
ParseException
public final void GT() throws ParseException
ParseException
public final void GE() throws ParseException
ParseException
public final void LT() throws ParseException
ParseException
public final void LE() throws ParseException
ParseException
public void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(JPQLTokenManager 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 © 2006–2022 Apache Software Foundation. All rights reserved.