Class EclipseLinkStateObjectBuilder
java.lang.Object
org.eclipse.persistence.jpa.jpql.parser.AbstractExpressionVisitor
org.eclipse.persistence.jpa.jpql.tools.model.BasicStateObjectBuilder
org.eclipse.persistence.jpa.jpql.tools.model.EclipseLinkStateObjectBuilder
- All Implemented Interfaces:
EclipseLinkExpressionVisitor
,ExpressionVisitor
public class EclipseLinkStateObjectBuilder
extends BasicStateObjectBuilder
implements EclipseLinkExpressionVisitor
The default implementation of
BasicStateObjectBuilder
, which provides support based on
the JPQL grammar defined in the Java Persistence functional specification and for the additional
support provided by EclipseLink.
Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
- Since:
- 2.4
- Version:
- 2.5
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.persistence.jpa.jpql.tools.model.BasicStateObjectBuilder
BasicStateObjectBuilder.AbstractRangeDeclarationBuilder<S extends AbstractFromClauseStateObject>, BasicStateObjectBuilder.AbstractSelectStatementBuilder<T extends AbstractSelectStatementStateObject,
P extends StateObject>, BasicStateObjectBuilder.CollectionExpressionVisitor, BasicStateObjectBuilder.CollectionMemberDeclarationBuilder, BasicStateObjectBuilder.DeleteStatementBuilder, BasicStateObjectBuilder.JoinBuilder, BasicStateObjectBuilder.RangeDeclarationBuilder, BasicStateObjectBuilder.SelectItemBuilder, BasicStateObjectBuilder.SelectStatementBuilder, BasicStateObjectBuilder.SimpleRangeDeclarationBuilder, BasicStateObjectBuilder.SimpleSelectStatementBuilder, BasicStateObjectBuilder.UpdateStatementBuilder, BasicStateObjectBuilder.WhenClauseBuilder -
Field Summary
Fields inherited from class org.eclipse.persistence.jpa.jpql.tools.model.BasicStateObjectBuilder
managedTypeProvider, parent, stateObject
-
Constructor Summary
ConstructorDescriptionCreates a newEclipseLinkStateObjectBuilder
. -
Method Summary
Modifier and TypeMethodDescriptionprotected LiteralVisitor
Creates the visitor that can retrieve the "literal" value from a givenExpression
based on the desiredLiteralType
.void
visit
(AsOfClause expression) Visits theAsOfClause
expression.void
visit
(CastExpression expression) Visits theCastExpression
expression.void
visit
(ConnectByClause expression) Visits theConnectByClause
expression.void
visit
(DatabaseType expression) Visits theDatabaseType
expression.void
visit
(ExtractExpression expression) Visits theExtractExpression
expression.void
visit
(HierarchicalQueryClause expression) Visits theHierarchicalQueryClause
expression.void
visit
(OrderSiblingsByClause expression) Visits theOrderSiblingsByClause
expression.void
visit
(RegexpExpression expression) Visits theRegexpExpression
expression.void
visit
(StartWithClause expression) Visits theStartWithClause
expression.void
visit
(TableExpression expression) Visits theTableExpression
expression.void
visit
(TableVariableDeclaration expression) Visits theTableVariableDeclaration
expression.void
visit
(UnionClause expression) Visits theUnionClause
expression.Methods inherited from class org.eclipse.persistence.jpa.jpql.tools.model.BasicStateObjectBuilder
buildChildren, buildCollectionDeclarationBuilder, buildDeleteStatementBuilder, buildJoinBuilder, buildRangeDeclarationBuilder, buildSelectItemBuilder, buildSelectStatementBuilder, buildSimpleRangeDeclarationBuilder, buildSimpleSelectStatementBuilder, buildStateObjectImp, buildUpdateStatementBuilder, buildWhenClauseBuilder, children, getCollectionDeclarationBuilder, getCollectionExpressionVisitor, getDeleteStatementBuilder, getJoinBuilder, getLiteralVisitor, getRangeDeclarationBuilder, getSelectItemBuilder, getSelectStatementBuilder, getSimpleRangeDeclarationBuilder, getSimpleSelectStatementBuilder, getStateObject, getUpdateStatementBuilder, literal, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, whenClauseBuilder
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.AbstractExpressionVisitor
visit, visit, visit, visit, visit, visit, visit, visit, visit
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.persistence.jpa.jpql.parser.ExpressionVisitor
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
Constructor Details
-
EclipseLinkStateObjectBuilder
public EclipseLinkStateObjectBuilder()Creates a newEclipseLinkStateObjectBuilder
.
-
-
Method Details
-
buildLiteralVisitor
Description copied from class:BasicStateObjectBuilder
Creates the visitor that can retrieve the "literal" value from a givenExpression
based on the desiredLiteralType
.- Specified by:
buildLiteralVisitor
in classBasicStateObjectBuilder
- Returns:
- A new concrete instance of
LiteralVisitor
-
visit
Description copied from interface:EclipseLinkExpressionVisitor
Visits theAsOfClause
expression.- Specified by:
visit
in interfaceEclipseLinkExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
Description copied from interface:EclipseLinkExpressionVisitor
Visits theCastExpression
expression.- Specified by:
visit
in interfaceEclipseLinkExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
Description copied from interface:EclipseLinkExpressionVisitor
Visits theConnectByClause
expression.- Specified by:
visit
in interfaceEclipseLinkExpressionVisitor
- Parameters:
expression
- TheConnectByClause
to visit
-
visit
Description copied from interface:EclipseLinkExpressionVisitor
Visits theDatabaseType
expression.- Specified by:
visit
in interfaceEclipseLinkExpressionVisitor
- Parameters:
expression
- TheDatabaseType
to visit
-
visit
Description copied from interface:EclipseLinkExpressionVisitor
Visits theExtractExpression
expression.- Specified by:
visit
in interfaceEclipseLinkExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
Description copied from interface:EclipseLinkExpressionVisitor
Visits theHierarchicalQueryClause
expression.- Specified by:
visit
in interfaceEclipseLinkExpressionVisitor
- Parameters:
expression
- TheHierarchicalQueryClause
to visit
-
visit
Description copied from interface:EclipseLinkExpressionVisitor
Visits theOrderSiblingsByClause
expression.- Specified by:
visit
in interfaceEclipseLinkExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
Description copied from interface:EclipseLinkExpressionVisitor
Visits theRegexpExpression
expression.- Specified by:
visit
in interfaceEclipseLinkExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
Description copied from interface:EclipseLinkExpressionVisitor
Visits theStartWithClause
expression.- Specified by:
visit
in interfaceEclipseLinkExpressionVisitor
- Parameters:
expression
- TheStartWithClause
to visit
-
visit
Description copied from interface:EclipseLinkExpressionVisitor
Visits theTableExpression
expression.- Specified by:
visit
in interfaceEclipseLinkExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
Description copied from interface:EclipseLinkExpressionVisitor
Visits theTableVariableDeclaration
expression.- Specified by:
visit
in interfaceEclipseLinkExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
Description copied from interface:EclipseLinkExpressionVisitor
Visits theUnionClause
expression.- Specified by:
visit
in interfaceEclipseLinkExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-