Package org.apache.cayenne.ejbql.parser
Class EJBQL
java.lang.Object
org.apache.cayenne.ejbql.parser.EJBQL
- All Implemented Interfaces:
- EJBQLConstants,- EJBQLTreeConstants
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionNext token.protected JJTEJBQLStateCurrent token.Generated Token Manager.Fields inherited from interface org.apache.cayenne.ejbql.parser.EJBQLConstantsABS, ALL, AND, ANY, AS, ASC, AVG, BETWEEN, BOOLEAN_LITERAL, BOTH, BY, CHARACTER_LITERAL, COMMA, CONCAT, COUNT, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, DECIMAL_LITERAL, DEFAULT, DELETE, DESC, DIGIT, DISTINCT, DIV, DOT, EMPTY, EOF, EQ, ESCAPE, EXISTS, EXPONENT, FETCH, FROM, GE, GROUP, GT, HAVING, IDENTIFIER, IN, INNER, INTEGER_LITERAL, IS, JOIN, LE, LEADING, LEFT, LENGTH, LETTER, LIKE, LOCATE, LOWER, LT, MAX, MEMBER, MIN, MINUS, MOD, NE, NEW, NOT, NULL, OBJECT, OF, OR, ORDER, OUTER, PLUS, SELECT, SET, SIZE, SOME, SQRT, STRING_LITERAL, SUBSTRING, SUM, TIMES, tokenImage, TRAILING, TRIM, UPDATE, UPPER, WHEREFields inherited from interface org.apache.cayenne.ejbql.parser.EJBQLTreeConstantsJJTABS, JJTABSTRACTSCHEMANAME, JJTADD, JJTAGGREGATE, JJTALL, JJTAND, JJTANY, JJTASCENDING, JJTAVERAGE, JJTBETWEEN, JJTBOOLEANLITERAL, JJTCLASSNAME, JJTCONCAT, JJTCONSTRUCTOR, JJTCONSTRUCTORPARAMETER, JJTCONSTRUCTORPARAMETERS, JJTCOUNT, JJTCURRENTDATE, JJTCURRENTTIME, JJTCURRENTTIMESTAMP, JJTDBPATH, JJTDECIMALLITERAL, JJTDELETE, JJTDESCENDING, JJTDISTINCT, JJTDIVIDE, JJTEQUALS, JJTESCAPECHARACTER, JJTEXISTS, JJTFROM, JJTFROMITEM, JJTGREATEROREQUAL, JJTGREATERTHAN, JJTGROUPBY, JJTHAVING, JJTIDENTIFICATIONVARIABLE, JJTIDENTIFIER, JJTIN, JJTINNERFETCHJOIN, JJTINNERJOIN, JJTINTEGERLITERAL, JJTISEMPTY, JJTISNULL, JJTLENGTH, JJTLESSOREQUAL, JJTLESSTHAN, JJTLIKE, JJTLOCATE, JJTLOWER, JJTMAX, JJTMEMBEROF, JJTMIN, JJTMOD, JJTMULTIPLY, JJTNAMEDINPUTPARAMETER, JJTNEGATIVE, jjtNodeName, JJTNOT, JJTNOTEQUALS, JJTOR, JJTORDERBY, JJTORDERBYITEM, JJTOUTERFETCHJOIN, JJTOUTERJOIN, JJTPATH, JJTPATTERNVALUE, JJTPOSITIONALINPUTPARAMETER, JJTSELECT, JJTSELECTCLAUSE, JJTSELECTEXPRESSION, JJTSELECTEXPRESSIONS, JJTSIZE, JJTSQRT, JJTSTRINGLITERAL, JJTSUBSELECT, JJTSUBSTRING, JJTSUBTRACT, JJTSUM, JJTTOK, JJTTRIM, JJTTRIMBOTH, JJTTRIMCHARACTER, JJTTRIMLEADING, JJTTRIMTRAILING, JJTUPDATE, JJTUPDATEFIELD, JJTUPDATEITEM, JJTUPDATEVALUE, JJTUPPER, JJTVOID, JJTWHERE
- 
Constructor SummaryConstructorsConstructorDescriptionEJBQL(InputStream stream) Constructor with InputStream.EJBQL(InputStream stream, String encoding) Constructor with InputStream and supplied encodingConstructor.Constructor with generated Token Manager.
- 
Method SummaryModifier and TypeMethodDescriptionfinal voidabs()final voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidavg()final voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidconcat()final voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidcount()final voidfinal voidfinal voidfinal voiddb_path()final voidfinal voidfinal voidDisable tracing.final voiddistinct()final voidfinal voidfinal voidEnable tracing.final voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidEQ()final voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidGE()Generate ParseException.final TokenGet the next Token.final TokengetToken(int index) Get the specific Token.final voidfinal voidfinal voidGT()final voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidLE()final voidlength()final voidfinal voidfinal voidlocate()final voidlower()final voidLT()final voidmax()final voidmin()final voidmod()final voidfinal voidNE()final voidnegative()final voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal Nodefinal voidpath()final voidfinal voidfinal voidvoidReInit(InputStream stream) Reinitialise.voidReInit(InputStream stream, String encoding) Reinitialise.voidReinitialise.voidReinitialise.final voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidsize()final voidfinal voidsqrt()final voidfinal voidfinal voidfinal voidfinal voidfinal voidsubquery()final voidfinal voidfinal voidfinal voidfinal voidfinal voidsum()final voidtok()final voidtrim()final voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidupper()final void
- 
Field Details- 
jjtree
- 
token_sourceGenerated Token Manager.
- 
tokenCurrent token.
- 
jj_ntNext token.
 
- 
- 
Constructor Details- 
EJBQL
- 
EJBQLConstructor with InputStream.
- 
EJBQLConstructor with InputStream and supplied encoding
- 
EJBQLConstructor.
- 
EJBQLConstructor with generated Token Manager.
 
- 
- 
Method Details- 
parseQuery- Throws:
- ParseException
 
- 
select_statement- Throws:
- ParseException
 
- 
update_statement- Throws:
- ParseException
 
- 
delete_statement- Throws:
- ParseException
 
- 
from_clause- Throws:
- ParseException
 
- 
identification_variable_declaration- Throws:
- ParseException
 
- 
from_item- Throws:
- ParseException
 
- 
subquery_from_clause- Throws:
- ParseException
 
- 
subquery_from_item- Throws:
- ParseException
 
- 
inner_join- Throws:
- ParseException
 
- 
collection_member_declaration- Throws:
- ParseException
 
- 
outer_join- Throws:
- ParseException
 
- 
fetch_join- Throws:
- ParseException
 
- 
outer_fetch_join- Throws:
- ParseException
 
- 
inner_fetch_join- Throws:
- ParseException
 
- 
path- Throws:
- ParseException
 
- 
db_path- Throws:
- ParseException
 
- 
object_path- Throws:
- ParseException
 
- 
update_clause- Throws:
- ParseException
 
- 
set_clause- Throws:
- ParseException
 
- 
update_item- Throws:
- ParseException
 
- 
update_field- Throws:
- ParseException
 
- 
new_value- Throws:
- ParseException
 
- 
simple_entity_expression- Throws:
- ParseException
 
- 
select_clause- Throws:
- ParseException
 
- 
simple_select_clause- Throws:
- ParseException
 
- 
select_expressions- Throws:
- ParseException
 
- 
select_expression- Throws:
- ParseException
 
- 
subselect_expressions- Throws:
- ParseException
 
- 
subselect_expression- Throws:
- ParseException
 
- 
constructor_expression- Throws:
- ParseException
 
- 
classname- Throws:
- ParseException
 
- 
constructor_parameters- Throws:
- ParseException
 
- 
constructor_parameter- Throws:
- ParseException
 
- 
aggregate_select_expression- Throws:
- ParseException
 
- 
distinct- Throws:
- ParseException
 
- 
aggregate_path- Throws:
- ParseException
 
- 
distinct_path- Throws:
- ParseException
 
- 
count- Throws:
- ParseException
 
- 
avg- Throws:
- ParseException
 
- 
max- Throws:
- ParseException
 
- 
min- Throws:
- ParseException
 
- 
sum- Throws:
- ParseException
 
- 
where_clause- Throws:
- ParseException
 
- 
groupby_clause- Throws:
- ParseException
 
- 
groupby_item- Throws:
- ParseException
 
- 
having_clause- Throws:
- ParseException
 
- 
subquery- Throws:
- ParseException
 
- 
conditional_expression- Throws:
- ParseException
 
- 
conditional_term- Throws:
- ParseException
 
- 
conditional_factor- Throws:
- ParseException
 
- 
conditional_primary- Throws:
- ParseException
 
- 
simple_cond_expression- Throws:
- ParseException
 
- 
between_expression- Throws:
- ParseException
 
- 
in_expression- Throws:
- ParseException
 
- 
literal_or_param- Throws:
- ParseException
 
- 
like_expression- Throws:
- ParseException
 
- 
null_comparison_expression- Throws:
- ParseException
 
- 
empty_collection_comparison_expression- Throws:
- ParseException
 
- 
collection_member_expression- Throws:
- ParseException
 
- 
exists_expression- Throws:
- ParseException
 
- 
all_or_any_expression- Throws:
- ParseException
 
- 
any_expression- Throws:
- ParseException
 
- 
some_expression- Throws:
- ParseException
 
- 
all_expression- Throws:
- ParseException
 
- 
comparison_expression- Throws:
- ParseException
 
- 
string_comp- Throws:
- ParseException
 
- 
boolean_comp- Throws:
- ParseException
 
- 
enum_comp- Throws:
- ParseException
 
- 
entity_comp- Throws:
- ParseException
 
- 
arithmetic_comp- Throws:
- ParseException
 
- 
datetime_comp- Throws:
- ParseException
 
- 
arithmetic_value- Throws:
- ParseException
 
- 
arithmetic_expression- Throws:
- ParseException
 
- 
arithmetic_term- Throws:
- ParseException
 
- 
arithmetic_factor- Throws:
- ParseException
 
- 
negative- Throws:
- ParseException
 
- 
string_value- Throws:
- ParseException
 
- 
string_expression- Throws:
- ParseException
 
- 
string_primary- Throws:
- ParseException
 
- 
datetime_expression- Throws:
- ParseException
 
- 
datetime_primary- Throws:
- ParseException
 
- 
boolean_value- Throws:
- ParseException
 
- 
boolean_expression- Throws:
- ParseException
 
- 
boolean_primary- Throws:
- ParseException
 
- 
enum_expression- Throws:
- ParseException
 
- 
enum_primary- Throws:
- ParseException
 
- 
enum_literal- Throws:
- ParseException
 
- 
entity_bean_value- Throws:
- ParseException
 
- 
entity_bean_expression- Throws:
- ParseException
 
- 
functions_returning_strings- Throws:
- ParseException
 
- 
concat- Throws:
- ParseException
 
- 
substring- Throws:
- ParseException
 
- 
trim- Throws:
- ParseException
 
- 
lower- Throws:
- ParseException
 
- 
upper- Throws:
- ParseException
 
- 
trim_specification- Throws:
- ParseException
 
- 
functions_returning_numerics- Throws:
- ParseException
 
- 
length- Throws:
- ParseException
 
- 
locate- Throws:
- ParseException
 
- 
abs- Throws:
- ParseException
 
- 
sqrt- Throws:
- ParseException
 
- 
mod- Throws:
- ParseException
 
- 
size- Throws:
- ParseException
 
- 
functions_returning_datetime- Throws:
- ParseException
 
- 
orderby_clause- Throws:
- ParseException
 
- 
orderby_item- Throws:
- ParseException
 
- 
abstract_schema_name- Throws:
- ParseException
 
- 
tok- Throws:
- ParseException
 
- 
identification_variable- Throws:
- ParseException
 
- 
path_component- Throws:
- ParseException
 
- 
numeric_literal- Throws:
- ParseException
 
- 
integer_literal- Throws:
- ParseException
 
- 
decimal_literal- Throws:
- ParseException
 
- 
boolean_literal- Throws:
- ParseException
 
- 
string_literal- Throws:
- ParseException
 
- 
input_parameter- Throws:
- ParseException
 
- 
named_input_parameter- Throws:
- ParseException
 
- 
positional_input_parameter- Throws:
- ParseException
 
- 
pattern_value- Throws:
- ParseException
 
- 
escape_character- Throws:
- ParseException
 
- 
trim_character- Throws:
- ParseException
 
- 
EQ- Throws:
- ParseException
 
- 
NE- Throws:
- ParseException
 
- 
GT- Throws:
- ParseException
 
- 
GE- Throws:
- ParseException
 
- 
LT- Throws:
- ParseException
 
- 
LE- Throws:
- ParseException
 
- 
ReInitReinitialise.
- 
ReInitReinitialise.
- 
ReInitReinitialise.
- 
ReInitReinitialise.
- 
getNextTokenGet the next Token.
- 
getTokenGet the specific Token.
- 
generateParseExceptionGenerate ParseException.
- 
enable_tracingpublic final void enable_tracing()Enable tracing.
- 
disable_tracingpublic final void disable_tracing()Disable tracing.
 
-