| Package | Description |
|---|---|
| org.eclipse.persistence.jpa.jpql.parser |
This is the core of Hermes, this package contains the classes that can parse a JPQL query.
|
| org.eclipse.persistence.jpa.jpql.tools |
| Modifier and Type | Class and Description |
|---|---|
class |
AbsExpressionFactory
This
AbsExpressionFactory creates a new AbsExpression when the portion of the
query to parse starts with ABS. |
class |
AbstractLiteralExpressionFactory
This factory is responsible to return the right literal expression.
|
class |
AbstractSchemaNameFactory
This
AbstractSchemaNameFactory creates a new AbstractSchemaName. |
class |
AllOrAnyExpressionFactory
This
AllOrAnyExpressionFactory creates a new AllOrAnyExpression when the portion
of the query to parse starts with ALL, ANY or SOME. |
class |
AndExpressionFactory
This
AndExpression creates a new AdditionExpression when the portion of the query
to parse starts with AND. |
class |
ArithmeticExpressionFactory
This
ExpressionFactory creates a new expression when the portion of the query to parse
starts with an arithmetic identifier. |
class |
AsOfClauseFactory
This
AsOfClauseFactory creates a new AsOfClause when the portion of the JPQL
query to parse starts with AS OF. |
class |
AvgFunctionFactory
This
AvgFunctionFactory creates a new AvgFunction when the portion of the query
to parse starts with AVG. |
class |
BadExpressionFactory
This
BadExpressionFactory creates a new BadExpression when the portion of the
query to parse is malformed. |
class |
BetweenExpressionFactory
This
BetweenExpressionFactory creates a new BetweenExpression when the portion of
the query to parse starts with BETWEEN or NOT BETWEEN. |
class |
CaseExpressionFactory
This
CaseExpressionFactory creates a new CaseExpression when the portion of the
query to parse starts with CASE. |
class |
CastExpressionFactory
This
CastExpressionFactory creates a new CastExpression when the portion of the
query to parse starts with CAST. |
class |
CoalesceExpressionFactory
This
CoalesceExpressionFactory creates a new CoalesceExpression when the portion
of the query to parse starts with COALESCE. |
class |
CollectionMemberDeclarationFactory
This
CollectionMemberDeclarationFactory creates a new CollectionMemberDeclaration
when the portion of the query to parse starts with IN. |
class |
CollectionMemberExpressionFactory
This
CollectionMemberExpressionFactory creates a new CollectionMemberExpression
when the portion of the query to parse starts with MEMBER, MEMBER OF, NOT
MEMBER or NOT MEMBER OF. |
class |
CollectionValuedPathExpressionFactory |
class |
ComparisonExpressionFactory
This
ComparisonExpressionFactory creates a new ComparisonExpression when the
portion of the query to parse starts with <, >, <>, <=,
>= or =. |
class |
ConcatExpressionFactory
This
ConcatExpressionFactory creates a new ConcatExpression when the portion of
the query to parse starts with CONCAT. |
class |
ConnectByClauseFactory
This
ConnectByClauseFactory creates a new ConnectByClause when the portion of
the query to parse starts with CONNECT BY. |
class |
ConstructorExpressionFactory
This
ConstructorExpressionFactory creates a new ConstructorExpression when the
portion of the query to parse starts with NEW. |
class |
CountFunctionFactory
This
CountFunctionFactory creates a new CountFunction when the portion of the
query to parse starts with COUNT. |
class |
DatabaseTypeFactory |
class |
DateTimeFactory
This
DateTimeFactory creates a new DateTime when the portion of the query to
parse starts with CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP or with the
JDBC escape format used for date/time/timestamp. |
class |
DeleteClauseFactory
This
DeleteClauseFactory creates a new DeleteClause when the portion of the query
to parse starts with DELETE FROM. |
class |
DeleteStatementFactory
This
DeleteStatementFactory creates a new DeleteStatement when the portion of the
query to parse starts with DELETE FROM. |
class |
EntityTypeLiteralFactory
This factory creates an
EntityTypeLiteral, which wraps an entity name. |
class |
EntryExpressionFactory
This
EntryExpressionFactory creates a new EntryExpression when the portion of the
query to parse starts with ENTRY. |
class |
ExistsExpressionFactory
This
ExistsExpressionFactory creates a new ExistsExpression when the portion of
the query to parse starts with EXISTS. |
class |
ExtractExpressionFactory
This
ExtractExpressionFactory creates a new ExtractExpression when the portion of
the query to parse starts with EXTRACT. |
class |
FromClauseFactory
This
FromClauseFactory creates a new FromClause when the portion of the query to
parse starts with FROM. |
class |
FunctionExpressionFactory
This
FunctionExpressionFactory creates a new FunctionExpression when the portion
of the query to parse starts with an identifier related to a SQL function. |
class |
GeneralIdentificationExpressionFactory
This
ValueExpressionFactory creates a general identification variable, which is either
with the identifier KEY or VALUE and then checks the existence of a path expression. |
class |
GroupByClauseFactory
This
GroupByClauseFactory creates a new GroupByClause when the portion of the
query to parse starts with GROUP BY. |
class |
GroupByItemFactory
This
GroupByItemFactory is responsible to return the right expression and to support
invalid expression as well. |
class |
HavingClauseFactory
This
HavingClauseFactory creates a new HavingClause when the portion of the query
to parse starts with HAVING. |
class |
HierarchicalQueryClauseFactory
This
HierarchicalQueryClauseFactory creates a new HierarchicalQueryClause
when the portion of the query to parse starts with either VERSIONS or
AS OF. |
class |
IdentificationVariableDeclarationFactory
This
IdentificationVariableDeclarationFactory handles parsing the JPQL fragment
within the FROM clause. |
class |
IdentificationVariableFactory
This
IdentificationVariableFactory creates a new IdentificationVariable. |
class |
IndexExpressionFactory
This
IndexExpressionFactory creates a new IndexExpression when the portion of the
query to parse starts with INDEX. |
class |
InExpressionFactory
This
InExpressionFactory creates a new InExpression when the portion of the query
to parse starts with IN or NOT IN. |
class |
InternalOrderByItemFactory
This
InternalOrderByItemFactory creates either a StateFieldPathExpression or
an IdentificationVariable. |
class |
IsExpressionFactory
This
IsExpressionFactory creates a new expression when the portion of the query to parse
starts with IS. |
class |
JoinCollectionValuedPathExpressionFactory |
class |
JoinFactory
This
JoinFactory creates a new Join when the portion of the query to parse starts
with JOIN or FETCH JOIN, respectively. |
class |
KeyExpressionFactory
This
KeyExpressionFactory creates a new KeyExpression when the portion of the
query to parse starts with KEY. |
class |
KeywordExpressionFactory
This
KeywordExpressionFactory creates a new KeywordExpression when the
portion of the JPQL query to parse is FALSE, TRUE or
NULL. |
class |
LengthExpressionFactory
This
LengthExpressionFactory creates a new LengthExpression when the portion of
the query to parse starts with LENGTH. |
class |
LikeExpressionFactory
This
LikeExpressionFactory creates a new LikeExpression when the portion of the
query to parse starts with LIKE or NOT LIKE. |
class |
LiteralExpressionFactory
This
LiteralExpressionFactory is responsible to return the right literal expression. |
class |
LocateExpressionFactory
This
LocateExpressionFactory creates a new LocateExpression when the portion of
the query to parse starts with LOCATE. |
class |
LowerExpressionFactory
This
LowerExpressionFactory creates a new LowerExpression when the portion of the
query to parse starts with LOWER. |
class |
MaxFunctionFactory
This
MaxFunctionFactory creates a new MaxFunction when the portion of the query
to parse starts with MAX. |
class |
MinFunctionFactory
This
MinFunctionFactory creates a new MinFunction when the portion of the query
to parse starts with MIN. |
class |
ModExpressionFactory
This
ModExpressionFactory creates a new ModExpression when the portion of the
query to parse starts with MOD. |
class |
NotExpressionFactory
This
NotExpressionFactory creates a new NotExpression when the portion of the
query to parse starts with NOT. |
class |
NullIfExpressionFactory
This
NullIfExpressionFactory creates a new NullIfExpression when the portion of
the query to parse starts with NULLIF. |
class |
ObjectExpressionFactory
This
ObjectExpressionFactory creates a new ObjectExpression when the portion of
the query to parse starts with OBJECT. |
class |
OnClauseFactory
This
OnClauseFactory creates a new OnClause when the portion of the query to
parse starts with ON. |
class |
OrderByClauseFactory
This
OrderByClauseFactory creates a new OrderByClause when the portion of the
query to parse starts with ORDER BY. |
class |
OrderByItemFactory
This
OrderByItemFactory creates a new OrderByItem. |
class |
OrderSiblingsByClauseFactory
This
OrderSiblingsByClauseFactory creates a new OrderSiblingsByClause when
the portion of the query to parse starts with ORDER SIBLINGS BY. |
class |
OrExpressionFactory
This
OrExpressionFactory creates a new OrExpression when the portion of the query
to parse starts with OR. |
class |
RangeDeclarationFactory |
class |
RangeVariableDeclarationFactory
This
RangeVariableDeclaration creates a new RangeVariableDeclaration. |
class |
RegexpExpressionFactory
This
RegexpExpressionFactory creates a new RegexpExpression when the portion of the
query to parse starts with REGEXP. |
class |
ResultVariableFactory
This
ResultVariableFactory creates a new ResultVariable when the portion of the
query to parse starts with or without AS. |
class |
SelectClauseFactory
This
SelectClauseFactory creates a new SelectClause when the portion of the
query to parse starts with SELECT. |
class |
SelectStatementFactory
This
SelectStatementFactory creates a new SelectStatement when the portion of the
query to parse starts with SELECT. |
class |
SimpleSelectStatementFactory
This
SimpleSelectStatementFactory creates a new SimpleSelectStatement when the
portion of the query to parse starts with SELECT. |
class |
SizeExpressionFactory
This
SizeExpressionFactory creates a new SizeExpression when the portion of the
query to parse starts with SIZE. |
class |
SqrtExpressionFactory
This
SqrtExpressionFactory creates a new SqrtExpression when the portion of the
query to parse starts with SQRT. |
class |
StartWithClauseFactory
This
StartWithClauseFactory creates a new StartWithClause when the portion
of the query to parse starts with START WITH. |
class |
StateFieldPathExpressionFactory
This
StateFieldPathExpressionFactory is meant to handle the parsing of a portion of the
query when it's expected to be a state field path. |
class |
StringLiteralFactory
This
StringLiteralFactory is responsible to parse a sub-query starting with a single quote. |
class |
SubstringExpressionFactory
This
SubstringExpressionFactory creates a new SubstringExpression when the
portion of the query to parse starts with SUBSTRING. |
class |
SumFunctionFactory
This
SumFunctionFactory creates a new SumFunction when the portion of the query
to parse starts with SUM. |
class |
TableExpressionFactory
This
TableExpressionFactory creates a new TableExpression. |
class |
TableVariableDeclarationFactory
This
TableVariableDeclarationFactory creates a new TableVariableDeclaration. |
class |
TreatExpressionFactory
This
TreatExpressionFactory creates a new TreatExpression when the portion of the
query to parse starts with TREAT. |
class |
TrimExpressionFactory
This
TrimExpressionFactory creates a new TrimExpression when the portion of the
query to parse starts with TRIM. |
class |
TypeExpressionFactory
This
TypeExpressionFactory creates a new TypeExpression when the portion of the
query to parse starts with TYPE. |
class |
UnionClauseFactory
This
UnionClauseFactory creates a new UnionClause when the portion of the
query to parse starts with UNION, INTERSECT or EXCEPT. |
class |
UnknownExpressionFactory
This
UnknownExpressionFactory creates a new UnknownExpression when the portion of
the query to parse is unknown. |
class |
UpdateClauseFactory
This
UpdateClauseFactory creates a new UpdateClause when the portion of the query
to parse starts with UPDATE. |
class |
UpdateItemFactory
This
UpdateItemFactory creates a new UpdateItem. |
class |
UpdateItemStateFieldPathExpressionFactory
This
UpdateItemStateFieldPathExpressionFactory is meant to handle the parsing of a
portion of the query when it's expected to be a state field path. |
class |
UpdateStatementFactory
This
UpdateStatementFactory creates a new UpdateStatement when the portion of the
query to parse starts with UPDATE. |
class |
UpperExpressionFactory
This
UpperExpressionFactory creates a new UpperExpression when the portion of the
query to parse starts with UPPER. |
class |
ValueExpressionFactory
This
ValueExpressionFactory creates a new ValueExpression when the portion of the
query to parse starts with VALUE. |
class |
WhenClauseFactory
This
WhenClauseFactory creates a new WhenClause when the portion of the query to
parse starts with WHEN. |
class |
WhereClauseFactory
This
WhereClauseFactory creates a new WhereClause when the portion of the query
to parse starts with WHERE. |
| Modifier and Type | Method and Description |
|---|---|
ExpressionFactory |
ExpressionRegistry.expressionFactoryForIdentifier(String identifier)
Retrieves the
ExpressionFactory that is responsible for creating the Expression
object that represents the given JPQL identifier. |
protected ExpressionFactory |
AbstractExpression.findFallBackExpressionFactory(JPQLQueryBNF queryBNF)
Retrieve the
ExpressionFactory from the given JPQLQueryBNF by following the
path of fallback JPQLQueryBNFs and then returns the ExpressionFactory
from the leaf JPQLQueryBNF. |
ExpressionFactory |
JPQLQueryBNF.getExpressionFactory(String identifier)
Retrieves the
ExpressionFactory that is associated with the given identifier, if the
given string is indeed a JPQL identifier. |
ExpressionFactory |
ExpressionRegistry.getExpressionFactory(String expressionFactoryId)
Retrieves the registered
ExpressionFactory that was registered for the given unique identifier. |
protected ExpressionFactory |
AbstractExpression.getExpressionFactory(String expressionFactoryId)
Retrieves the registered
ExpressionFactory that was registered for the given unique
identifier. |
| Modifier and Type | Method and Description |
|---|---|
int |
ExpressionFactory.compareTo(ExpressionFactory expressionFactory) |
void |
ExpressionRegistry.registerFactory(ExpressionFactory expressionFactory)
Registers the given
ExpressionFactory by storing it for all its identifiers. |
protected void |
AbstractJPQLGrammar.registerFactory(ExpressionFactory expressionFactory)
Registers the given
ExpressionFactory by storing it for all its identifiers. |
| Modifier and Type | Method and Description |
|---|---|
protected ExpressionFactory |
AbstractContentAssistVisitor.getExpressionFactory(String expressionFactoryId)
Retrieves the registered
ExpressionFactory that was registered for the given unique identifier. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractContentAssistVisitor.addExpressionFactoryIdentifiers(ExpressionFactory expressionFactory)
Adds the JPQL identifiers that were registered with the given
ExpressionFactory. |
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.