Uses of Interface
org.eclipse.persistence.jpa.jpql.parser.JPQLGrammar
Package
Description
This package contains the Hermes features (except the parser itself): semantic and grammatical
validations, content assist support, calculating the query result type or the possible type of
an input parameter, refactoring tools.
This is the core of Hermes, this package contains the classes that can parse a JPQL query.
The classes defined in this package define the state model API, a state model can be used to
manually or programmatically create and edit a JPQL query.
This package contains the
StateObject
classes that represents a JPQL query.-
Uses of JPQLGrammar in org.eclipse.persistence.internal.jpa.jpql
Modifier and TypeMethodDescriptionJPQLQueryHelper.getGrammar()
Returns the JPQL grammar that will be used to define how to parse a JPQL query.ModifierConstructorDescriptionJPQLQueryHelper
(JPQLGrammar jpqlGrammar) Creates a newJPQLQueryHelper
. -
Uses of JPQLGrammar in org.eclipse.persistence.jpa.jpql
Modifier and TypeMethodDescriptionprotected JPQLGrammar
AbstractGrammarValidator.getGrammar()
protected JPQLGrammar
AbstractSemanticValidator.getGrammar()
protected abstract JPQLGrammar
AbstractValidator.getGrammar()
Returns theJPQLGrammar
that defines how the JPQL query was parsed.SemanticValidatorHelper.getGrammar()
Returns theJPQLGrammar
that defines how the JPQL query was parsed.ModifierConstructorDescriptionprotected
AbstractGrammarValidator
(JPQLGrammar jpqlGrammar) Creates a newAbstractGrammarValidator
.EclipseLinkGrammarValidator
(JPQLGrammar jpqlGrammar) Creates a newEclipseLinkGrammarValidator
. -
Uses of JPQLGrammar in org.eclipse.persistence.jpa.jpql.parser
Modifier and TypeClassDescriptionclass
The abstract definition of aJPQLGrammar
.final class
ThisJPQL grammar
provides support for parsing JPQL queries defined by the latest Jakarta Persistence functional specification and the latest EclipseLink.final class
ThisJPQL grammar
provides support for parsing JPQL queries defined in the latest Jakarta Persistence functional specification.final class
ThisJPQL grammar
provides support for parsing JPQL queries defined in JSR-220 - Enterprise JavaBeans 3.0.final class
ThisJPQLGrammar
provides support for parsing JPQL queries defined in JSR-337 - Java Persistence 2.0.final class
ThisJPQLGrammar
provides support for parsing JPQL queries defined in JSR-337 - Java Persistence 2.0 and the additional support provided by EclipseLink 2.1.final class
ThisJPQLGrammar
provides support for parsing JPQL queries defined in JSR-337 - Java Persistence 2.0.final class
ThisJPQLGrammar
provides support for parsing JPQL queries defined in JSR-337 - Java Persistence 2.0.final class
ThisJPQLGrammar
provides support for parsing JPQL queries defined in JSR-338 - Java Persistence 2.1 and the additional support provided by EclipseLink 2.4.final class
ThisJPQLGrammar
provides support for parsing JPQL queries defined in JSR-338 - Java Persistence 2.1 and the additional support provided by EclipseLink 2.5.final class
ThisJPQLGrammar
provides support for parsing JPQL queries defined in JSR-338 - Java Persistence 2.1 and the additional support provided by EclipseLink 2.6.class
ThisJPQLGrammar
provides support for parsing JPQL queries defined in Jakarta Persistence 3.1 and the additional support provided by EclipseLink 4.0.final class
ThisJPQLGrammar
provides support for parsing JPQL queries defined in JSR-220 - Enterprise JavaBeans 3.0.final class
ThisJPQLGrammar
provides support for parsing JPQL queries defined in JSR-337 - Java Persistence 2.0.final class
ThisJPQLGrammar
provides support for parsing JPQL queries defined in JSR-338 - Java Persistence 2.1.class
ThisJPQLGrammar
provides support for parsing JPQL queries defined in Java Persistence 2.2.class
ThisJPQLGrammar
provides support for parsing JPQL queries defined in Jakarta Persistence 3.0.class
ThisJPQLGrammar
provides support for parsing JPQL queries defined in Jakarta Persistence 3.1.Modifier and TypeMethodDescriptionprotected abstract JPQLGrammar
AbstractJPQLGrammar.buildBaseGrammar()
Creates the baseJPQLGrammar
this one extends, if one exists.protected JPQLGrammar
EclipseLinkJPQLGrammar1.buildBaseGrammar()
protected JPQLGrammar
EclipseLinkJPQLGrammar2_0.buildBaseGrammar()
protected JPQLGrammar
EclipseLinkJPQLGrammar2_1.buildBaseGrammar()
protected JPQLGrammar
EclipseLinkJPQLGrammar2_2.buildBaseGrammar()
protected JPQLGrammar
EclipseLinkJPQLGrammar2_3.buildBaseGrammar()
protected JPQLGrammar
EclipseLinkJPQLGrammar2_4.buildBaseGrammar()
protected JPQLGrammar
EclipseLinkJPQLGrammar2_5.buildBaseGrammar()
protected JPQLGrammar
EclipseLinkJPQLGrammar2_6.buildBaseGrammar()
protected JPQLGrammar
EclipseLinkJPQLGrammar4_0.buildBaseGrammar()
protected JPQLGrammar
JPQLGrammar1_0.buildBaseGrammar()
protected JPQLGrammar
JPQLGrammar2_0.buildBaseGrammar()
protected JPQLGrammar
JPQLGrammar2_1.buildBaseGrammar()
protected JPQLGrammar
JPQLGrammar2_2.buildBaseGrammar()
protected JPQLGrammar
JPQLGrammar3_0.buildBaseGrammar()
protected JPQLGrammar
JPQLGrammar3_1.buildBaseGrammar()
AbstractJPQLGrammar.getBaseGrammar()
Creates the baseJPQLGrammar
this one extends.AbstractExpression.getGrammar()
Expression.getGrammar()
Returns theJPQLGrammar
that defines how the JPQL query was parsed.JPQLExpression.getGrammar()
static JPQLGrammar
DefaultEclipseLinkJPQLGrammar.instance()
Returns the singleton instance of this class.static JPQLGrammar
DefaultJPQLGrammar.instance()
Returns the singleton instance of this class.static JPQLGrammar
EclipseLinkJPQLGrammar1.instance()
Returns the singleton instance of this class.static JPQLGrammar
EclipseLinkJPQLGrammar2_0.instance()
Returns the singleton instance of this class.static JPQLGrammar
EclipseLinkJPQLGrammar2_1.instance()
Returns the singleton instance of this class.static JPQLGrammar
EclipseLinkJPQLGrammar2_2.instance()
Returns the singleton instance of this class.static JPQLGrammar
EclipseLinkJPQLGrammar2_3.instance()
Returns the singleton instance of this class.static JPQLGrammar
EclipseLinkJPQLGrammar2_4.instance()
Returns the singleton instance of this class.static JPQLGrammar
EclipseLinkJPQLGrammar2_5.instance()
Returns the singleton instance of this class.static JPQLGrammar
EclipseLinkJPQLGrammar2_6.instance()
Returns the singleton instance of this class.static JPQLGrammar
EclipseLinkJPQLGrammar4_0.instance()
Returns the singleton instance of this class.static JPQLGrammar
JPQLGrammar1_0.instance()
Returns the singleton instance of the default implementation ofJPQLGrammar
which provides support for the JPQL grammar defined in the JPA 1.0 functional specification.static JPQLGrammar
JPQLGrammar2_0.instance()
Returns the singleton instance of the default implementation ofJPQLGrammar
which provides support for the JPQL grammar defined in the JPA 2.0 functional specification.static JPQLGrammar
JPQLGrammar2_1.instance()
Returns the singleton instance of the default implementation ofJPQLGrammar
which provides support for the JPQL grammar defined in the JPA 2.1 functional specification.static JPQLGrammar
JPQLGrammar2_2.instance()
Returns the singleton instance of the default implementation ofJPQLGrammar
which provides support for the JPQL grammar defined in the JPA 2.2 functional specification.static JPQLGrammar
JPQLGrammar3_0.instance()
Returns the singleton instance of the default implementation ofJPQLGrammar
which provides support for the JPQL grammar defined in the Jakarta Persistence 3.0 functional specification.static JPQLGrammar
JPQLGrammar3_1.instance()
Returns the singleton instance of the default implementation ofJPQLGrammar
which provides support for the JPQL grammar defined in the Jakarta Persistence 3.1 functional specification.ModifierConstructorDescriptionJPQLExpression
(CharSequence query, JPQLGrammar jpqlGrammar) Creates a newJPQLExpression
, which is the root of the JPQL parsed tree.JPQLExpression
(CharSequence query, JPQLGrammar jpqlGrammar, boolean tolerant) Creates a newJPQLExpression
, which is the root of the JPQL parsed tree.JPQLExpression
(CharSequence jpqlFragment, JPQLGrammar jpqlGrammar, String queryBNFId, boolean tolerant) Creates a newJPQLExpression
that will parse the given fragment of a JPQL query.VirtualJPQLQueryBNF
(JPQLGrammar jpqlGrammar) Creates a newVirtualJPQLQueryBNF
. -
Uses of JPQLGrammar in org.eclipse.persistence.jpa.jpql.tools
Modifier and TypeMethodDescriptionAbstractJPQLQueryHelper.getGrammar()
Returns the JPQL grammar that will be used to define how to parse a JPQL query.BasicRefactoringTool.getGrammar()
Returns theJPQLGrammar
that is associated with this builder.DefaultContentAssistProposals.getGrammar()
Returns theJPQLGrammar
that defines how the JPQL query was parsed.GenericSemanticValidatorHelper.getGrammar()
JPQLQueryContext.getGrammar()
Returns the JPQL grammar that will be used to define how to parse a JPQL query.RefactoringTool.getGrammar()
Returns theJPQLGrammar
that is associated with this builder.protected abstract JPQLGrammar
AbstractContentAssistVisitor.getLatestGrammar()
Returns the latest supported JPQL grammar, which is required when checking the validity of a JPQL identifier.protected JPQLGrammar
DefaultContentAssistVisitor.getLatestGrammar()
protected JPQLGrammar
EclipseLinkContentAssistVisitor.getLatestGrammar()
Modifier and TypeMethodDescriptionprotected abstract AbstractGrammarValidator
AbstractJPQLQueryHelper.buildGrammarValidator
(JPQLGrammar jpqlGrammar) Creates the concrete instance of the validator that will grammatically validate the JPQL query.protected DefaultGrammarValidator
DefaultJPQLQueryHelper.buildGrammarValidator
(JPQLGrammar jpqlGrammar) protected EclipseLinkGrammarValidator
EclipseLinkJPQLQueryHelper.buildGrammarValidator
(JPQLGrammar jpqlGrammar) protected abstract JPQLQueryContext
AbstractJPQLQueryHelper.buildJPQLQueryContext
(JPQLGrammar jpqlGrammar) Creates a context that will be used to store and retrieve information about the JPQL query.protected JPQLQueryContext
DefaultJPQLQueryHelper.buildJPQLQueryContext
(JPQLGrammar jpqlGrammar) protected JPQLQueryContext
EclipseLinkJPQLQueryHelper.buildJPQLQueryContext
(JPQLGrammar jpqlGrammar) protected void
DefaultContentAssistProposals.initialize
(JPQLGrammar jpqlGrammar, ContentAssistExtension extension) protected void
JPQLQueryContext.initialize
(JPQLGrammar jpqlGrammar) Initializes thisJPQLQueryContext
.ModifierConstructorDescriptionAbstractJPQLQueryHelper
(JPQLGrammar jpqlGrammar) Creates a newAbstractJPQLQueryHelper
.protected
BasicRefactoringTool
(CharSequence jpqlQuery, JPQLGrammar jpqlGrammar, IManagedTypeProvider managedTypeProvider) Creates a newBasicRefactoringTool
.protected
BasicRefactoringTool
(CharSequence jpqlFragment, JPQLGrammar jpqlGrammar, IManagedTypeProvider managedTypeProvider, String jpqlQueryBNFId) Creates a newBasicRefactoringTool
.DefaultBasicRefactoringTool
(CharSequence jpqlQuery, JPQLGrammar jpqlGrammar, IManagedTypeProvider managedTypeProvider) Creates a newDefaultBasicRefactoringTool
.DefaultBasicRefactoringTool
(CharSequence jpqlFragment, JPQLGrammar jpqlGrammar, IManagedTypeProvider managedTypeProvider, String jpqlQueryBNFId) Creates a newDefaultBasicRefactoringTool
.DefaultContentAssistProposals
(JPQLGrammar jpqlGrammar, ContentAssistExtension extension) Creates a newDefaultContentAssistProposals
.DefaultGrammarValidator
(JPQLGrammar jpqlGrammar) Creates a newDefaultGrammarValidator
.DefaultJPQLQueryContext
(JPQLGrammar jpqlGrammar) Creates a newDefaultJPQLQueryContext
.DefaultJPQLQueryHelper
(JPQLGrammar jpqlGrammar) Creates a newDefaultJPQLQueryHelper
.EclipseLinkBasicRefactoringTool
(CharSequence jpqlQuery, JPQLGrammar jpqlGrammar, IManagedTypeProvider managedTypeProvider) Creates a newEclipseLinkBasicRefactoringTool
.EclipseLinkBasicRefactoringTool
(CharSequence jpqlFragment, JPQLGrammar jpqlGrammar, IManagedTypeProvider managedTypeProvider, String jpqlQueryBNFId) Creates a newEclipseLinkBasicRefactoringTool
.EclipseLinkJPQLQueryContext
(JPQLGrammar jpqlGrammar) Creates a newEclipseLinkJPQLQueryContext
.EclipseLinkJPQLQueryHelper
(JPQLGrammar jpqlGrammar) Creates a newEclipseLinkJPQLQueryHelper
.JPQLQueryContext
(JPQLGrammar jpqlGrammar) Creates a newJPQLQueryContext
. -
Uses of JPQLGrammar in org.eclipse.persistence.jpa.jpql.tools.model
Modifier and TypeMethodDescriptionEclipseLinkJPQLQueryBuilder.getGrammar()
IJPQLQueryBuilder.getGrammar()
Returns theJPQLGrammar
that is associated with this builder.JPQLQueryBuilder1_0.getGrammar()
JPQLQueryBuilder2_0.getGrammar()
JPQLQueryBuilder2_1.getGrammar()
JPQLQueryBuilderWrapper.getGrammar()
Modifier and TypeMethodDescriptionprotected JPQLExpression
AbstractJPQLQueryBuilder.parse
(CharSequence jpqlQuery, JPQLGrammar jpqlGrammar, boolean tolerant) Parses the given JPQL query with tolerant mode turned on.protected JPQLExpression
AbstractJPQLQueryBuilder.parse
(CharSequence jpqFragment, JPQLGrammar jpqlGrammar, String queryBNFId) Parses the given JPQL fragment with tolerant mode turned on.ModifierConstructorDescriptionEclipseLinkJPQLQueryBuilder
(JPQLGrammar jpqlGrammar) Creates a newEclipseLinkJPQLQueryBuilder
. -
Uses of JPQLGrammar in org.eclipse.persistence.jpa.jpql.tools.model.query
Modifier and TypeMethodDescriptionAbstractStateObject.getGrammar()
JPQLQueryStateObject.getGrammar()
StateObject.getGrammar()
Returns the grammar that defines how to parse a JPQL query.