| Package | Description |
|---|---|
| org.eclipse.persistence.jpa.jpql |
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.
|
| 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 | |
| org.eclipse.persistence.jpa.jpql.tools.model |
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.
|
| org.eclipse.persistence.jpa.jpql.tools.model.query |
This package contains the
StateObject classes that represents a JPQL query. |
| Modifier and Type | Method and Description |
|---|---|
JPQLGrammar |
SemanticValidatorHelper.getGrammar()
Returns the
JPQLGrammar that defines how the JPQL query was parsed. |
protected abstract JPQLGrammar |
AbstractValidator.getGrammar()
Returns the
JPQLGrammar that defines how the JPQL query was parsed. |
protected JPQLGrammar |
AbstractSemanticValidator.getGrammar()
Returns the
JPQLGrammar that defines how the JPQL query was parsed. |
protected JPQLGrammar |
AbstractGrammarValidator.getGrammar()
Returns the
JPQLGrammar that defines how the JPQL query was parsed. |
| Constructor and Description |
|---|
AbstractGrammarValidator(JPQLGrammar jpqlGrammar)
Creates a new
AbstractGrammarValidator. |
EclipseLinkGrammarValidator(JPQLGrammar jpqlGrammar)
Creates a new
EclipseLinkGrammarValidator. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractJPQLGrammar
The abstract definition of a
JPQLGrammar. |
class |
DefaultEclipseLinkJPQLGrammar
This
JPQL grammar provides support for parsing JPQL queries defined by the
JPA 2.1 functional specification and the EclipseLink 2.6. |
class |
DefaultJPQLGrammar
This
JPQL grammar provides support for parsing JPQL queries defined in the
latest JPA functional specification. |
class |
EclipseLinkJPQLGrammar1
This
JPQL grammar provides support for parsing JPQL queries defined in
JSR-220 - Enterprise JavaBeans 3.0. |
class |
EclipseLinkJPQLGrammar2_0
This
JPQLGrammar provides support for parsing JPQL queries defined in JSR-337 - Java Persistence 2.0. |
class |
EclipseLinkJPQLGrammar2_1
This
JPQLGrammar provides support for parsing JPQL queries defined in JSR-337 - Java Persistence 2.0 and the additional
support provided by EclipseLink 2.1. |
class |
EclipseLinkJPQLGrammar2_2
This
JPQLGrammar provides support for parsing JPQL queries defined in JSR-337 - Java Persistence 2.0. |
class |
EclipseLinkJPQLGrammar2_3
This
JPQLGrammar provides support for parsing JPQL queries defined in JSR-337 - Java Persistence 2.0. |
class |
EclipseLinkJPQLGrammar2_4
This
JPQLGrammar provides support for parsing JPQL queries defined in JSR-338 - Java Persistence 2.1 and the additional
support provided by EclipseLink 2.4. |
class |
EclipseLinkJPQLGrammar2_5
This
JPQLGrammar provides support for parsing JPQL queries defined in JSR-338 - Java Persistence 2.1 and the additional
support provided by EclipseLink 2.5. |
class |
EclipseLinkJPQLGrammar2_6
This
JPQLGrammar provides support for parsing JPQL queries defined in JSR-338 - Java Persistence 2.1 and the additional
support provided by EclipseLink 2.6. |
class |
JPQLGrammar1_0
This
JPQLGrammar provides support for parsing JPQL queries defined in JSR-220 - Enterprise JavaBeans 3.0. |
class |
JPQLGrammar2_0
This
JPQLGrammar provides support for parsing JPQL queries defined in
JSR-337 - Java Persistence 2.0. |
class |
JPQLGrammar2_1
This
JPQLGrammar provides support for parsing JPQL queries defined in
JSR-338 - Java Persistence 2.1. |
| Modifier and Type | Method and Description |
|---|---|
protected JPQLGrammar |
JPQLGrammar2_1.buildBaseGrammar()
Creates the base
JPQLGrammar this one extends, if one exists. |
protected JPQLGrammar |
JPQLGrammar2_0.buildBaseGrammar()
Creates the base
JPQLGrammar this one extends, if one exists. |
protected JPQLGrammar |
JPQLGrammar1_0.buildBaseGrammar()
Creates the base
JPQLGrammar this one extends, if one exists. |
protected JPQLGrammar |
EclipseLinkJPQLGrammar2_6.buildBaseGrammar()
Creates the base
JPQLGrammar this one extends, if one exists. |
protected JPQLGrammar |
EclipseLinkJPQLGrammar2_5.buildBaseGrammar()
Creates the base
JPQLGrammar this one extends, if one exists. |
protected JPQLGrammar |
EclipseLinkJPQLGrammar2_4.buildBaseGrammar()
Creates the base
JPQLGrammar this one extends, if one exists. |
protected JPQLGrammar |
EclipseLinkJPQLGrammar2_3.buildBaseGrammar()
Creates the base
JPQLGrammar this one extends, if one exists. |
protected JPQLGrammar |
EclipseLinkJPQLGrammar2_2.buildBaseGrammar()
Creates the base
JPQLGrammar this one extends, if one exists. |
protected JPQLGrammar |
EclipseLinkJPQLGrammar2_1.buildBaseGrammar()
Creates the base
JPQLGrammar this one extends, if one exists. |
protected JPQLGrammar |
EclipseLinkJPQLGrammar2_0.buildBaseGrammar()
Creates the base
JPQLGrammar this one extends, if one exists. |
protected JPQLGrammar |
EclipseLinkJPQLGrammar1.buildBaseGrammar()
Creates the base
JPQLGrammar this one extends, if one exists. |
protected abstract JPQLGrammar |
AbstractJPQLGrammar.buildBaseGrammar()
Creates the base
JPQLGrammar this one extends, if one exists. |
JPQLGrammar |
AbstractJPQLGrammar.getBaseGrammar()
Creates the base
JPQLGrammar this one extends. |
JPQLGrammar |
JPQLExpression.getGrammar()
Returns the
JPQLGrammar that defines how the JPQL query was parsed. |
JPQLGrammar |
Expression.getGrammar()
Returns the
JPQLGrammar that defines how the JPQL query was parsed. |
JPQLGrammar |
AbstractExpression.getGrammar()
Returns the
JPQLGrammar that defines how the JPQL query was parsed. |
static JPQLGrammar |
JPQLGrammar2_1.instance()
Returns the singleton instance of the default implementation of
JPQLGrammar which
provides support for the JPQL grammar defined in the JPA 2.1 functional specification. |
static JPQLGrammar |
JPQLGrammar2_0.instance()
Returns the singleton instance of the default implementation of
JPQLGrammar which
provides support for the JPQL grammar defined in the JPA 2.0 functional specification. |
static JPQLGrammar |
JPQLGrammar1_0.instance()
Returns the singleton instance of the default implementation of
JPQLGrammar which
provides support for the JPQL grammar defined in the JPA 1.0 functional specification. |
static JPQLGrammar |
EclipseLinkJPQLGrammar2_6.instance()
Returns the singleton instance of this class.
|
static JPQLGrammar |
EclipseLinkJPQLGrammar2_5.instance()
Returns the singleton instance of this class.
|
static JPQLGrammar |
EclipseLinkJPQLGrammar2_4.instance()
Returns the singleton instance of this class.
|
static JPQLGrammar |
EclipseLinkJPQLGrammar2_3.instance()
Returns the singleton instance of this class.
|
static JPQLGrammar |
EclipseLinkJPQLGrammar2_2.instance()
Returns the singleton instance of this class.
|
static JPQLGrammar |
EclipseLinkJPQLGrammar2_1.instance()
Returns the singleton instance of this class.
|
static JPQLGrammar |
EclipseLinkJPQLGrammar2_0.instance()
Returns the singleton instance of this class.
|
static JPQLGrammar |
EclipseLinkJPQLGrammar1.instance()
Returns the singleton instance of this class.
|
static JPQLGrammar |
DefaultJPQLGrammar.instance()
Returns the singleton instance of this class.
|
static JPQLGrammar |
DefaultEclipseLinkJPQLGrammar.instance()
Returns the singleton instance of this class.
|
| Constructor and Description |
|---|
JPQLExpression(CharSequence query,
JPQLGrammar jpqlGrammar)
Creates a new
JPQLExpression, which is the root of the JPQL parsed tree. |
JPQLExpression(CharSequence query,
JPQLGrammar jpqlGrammar,
boolean tolerant)
Creates a new
JPQLExpression, which is the root of the JPQL parsed tree. |
JPQLExpression(CharSequence jpqlFragment,
JPQLGrammar jpqlGrammar,
String queryBNFId,
boolean tolerant)
Creates a new
JPQLExpression that will parse the given fragment of a JPQL query. |
VirtualJPQLQueryBNF(JPQLGrammar jpqlGrammar)
Creates a new
VirtualJPQLQueryBNF. |
| Modifier and Type | Method and Description |
|---|---|
JPQLGrammar |
RefactoringTool.getGrammar()
Returns the
JPQLGrammar that is associated with this builder. |
JPQLGrammar |
JPQLQueryContext.getGrammar()
Returns the JPQL grammar that will be used to define how to parse a JPQL query.
|
JPQLGrammar |
GenericSemanticValidatorHelper.getGrammar()
Returns the
JPQLGrammar that defines how the JPQL query was parsed. |
JPQLGrammar |
DefaultContentAssistProposals.getGrammar()
Returns the
JPQLGrammar that defines how the JPQL query was parsed. |
JPQLGrammar |
BasicRefactoringTool.getGrammar()
Returns the
JPQLGrammar that is associated with this builder. |
JPQLGrammar |
AbstractJPQLQueryHelper.getGrammar()
Returns the JPQL grammar that will be used to define how to parse a JPQL query.
|
protected JPQLGrammar |
EclipseLinkContentAssistVisitor.getLatestGrammar()
Returns the latest supported JPQL grammar, which is required when checking the validity of a
JPQL identifier.
|
protected JPQLGrammar |
DefaultContentAssistVisitor.getLatestGrammar()
Returns the latest supported JPQL grammar, which is required when checking the validity of a
JPQL identifier.
|
protected abstract JPQLGrammar |
AbstractContentAssistVisitor.getLatestGrammar()
Returns the latest supported JPQL grammar, which is required when checking the validity of a
JPQL identifier.
|
| Modifier and Type | Method and Description |
|---|---|
protected EclipseLinkGrammarValidator |
EclipseLinkJPQLQueryHelper.buildGrammarValidator(JPQLGrammar jpqlGrammar)
Creates the concrete instance of the validator that will grammatically validate the JPQL query.
|
protected DefaultGrammarValidator |
DefaultJPQLQueryHelper.buildGrammarValidator(JPQLGrammar jpqlGrammar)
Creates the concrete instance of the validator that will grammatically validate the JPQL query.
|
protected abstract AbstractGrammarValidator |
AbstractJPQLQueryHelper.buildGrammarValidator(JPQLGrammar jpqlGrammar)
Creates the concrete instance of the validator that will grammatically validate the JPQL query.
|
protected JPQLQueryContext |
EclipseLinkJPQLQueryHelper.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)
Creates a context that will be used to store and retrieve information about the JPQL query.
|
protected abstract JPQLQueryContext |
AbstractJPQLQueryHelper.buildJPQLQueryContext(JPQLGrammar jpqlGrammar)
Creates a context that will be used to store and retrieve information about the JPQL query.
|
protected void |
JPQLQueryContext.initialize(JPQLGrammar jpqlGrammar)
Initializes this
JPQLQueryContext. |
protected void |
DefaultContentAssistProposals.initialize(JPQLGrammar jpqlGrammar,
ContentAssistExtension extension) |
| Constructor and Description |
|---|
AbstractJPQLQueryHelper(JPQLGrammar jpqlGrammar)
Creates a new
AbstractJPQLQueryHelper. |
BasicRefactoringTool(CharSequence jpqlQuery,
JPQLGrammar jpqlGrammar,
IManagedTypeProvider managedTypeProvider)
Creates a new
BasicRefactoringTool. |
BasicRefactoringTool(CharSequence jpqlFragment,
JPQLGrammar jpqlGrammar,
IManagedTypeProvider managedTypeProvider,
String jpqlQueryBNFId)
Creates a new
BasicRefactoringTool. |
DefaultBasicRefactoringTool(CharSequence jpqlQuery,
JPQLGrammar jpqlGrammar,
IManagedTypeProvider managedTypeProvider)
Creates a new
DefaultBasicRefactoringTool. |
DefaultBasicRefactoringTool(CharSequence jpqlFragment,
JPQLGrammar jpqlGrammar,
IManagedTypeProvider managedTypeProvider,
String jpqlQueryBNFId)
Creates a new
DefaultBasicRefactoringTool. |
DefaultContentAssistProposals(JPQLGrammar jpqlGrammar,
ContentAssistExtension extension)
Creates a new
DefaultContentAssistProposals. |
DefaultGrammarValidator(JPQLGrammar jpqlGrammar)
Creates a new
DefaultGrammarValidator. |
DefaultJPQLQueryContext(JPQLGrammar jpqlGrammar)
Creates a new
DefaultJPQLQueryContext. |
DefaultJPQLQueryHelper(JPQLGrammar jpqlGrammar)
Creates a new
DefaultJPQLQueryHelper. |
EclipseLinkBasicRefactoringTool(CharSequence jpqlQuery,
JPQLGrammar jpqlGrammar,
IManagedTypeProvider managedTypeProvider)
Creates a new
EclipseLinkBasicRefactoringTool. |
EclipseLinkBasicRefactoringTool(CharSequence jpqlFragment,
JPQLGrammar jpqlGrammar,
IManagedTypeProvider managedTypeProvider,
String jpqlQueryBNFId)
Creates a new
EclipseLinkBasicRefactoringTool. |
EclipseLinkJPQLQueryContext(JPQLGrammar jpqlGrammar)
Creates a new
EclipseLinkJPQLQueryContext. |
EclipseLinkJPQLQueryHelper(JPQLGrammar jpqlGrammar)
Creates a new
EclipseLinkJPQLQueryHelper. |
JPQLQueryContext(JPQLGrammar jpqlGrammar)
Creates a new
JPQLQueryContext. |
| Modifier and Type | Method and Description |
|---|---|
JPQLGrammar |
JPQLQueryBuilderWrapper.getGrammar()
Returns the
JPQLGrammar that is associated with this builder. |
JPQLGrammar |
JPQLQueryBuilder2_1.getGrammar()
Returns the
JPQLGrammar that is associated with this builder. |
JPQLGrammar |
JPQLQueryBuilder2_0.getGrammar()
Returns the
JPQLGrammar that is associated with this builder. |
JPQLGrammar |
JPQLQueryBuilder1_0.getGrammar()
Returns the
JPQLGrammar that is associated with this builder. |
JPQLGrammar |
IJPQLQueryBuilder.getGrammar()
Returns the
JPQLGrammar that is associated with this builder. |
JPQLGrammar |
EclipseLinkJPQLQueryBuilder.getGrammar()
Returns the
JPQLGrammar that is associated with this builder. |
| Modifier and Type | Method and Description |
|---|---|
protected 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.
|
| Constructor and Description |
|---|
EclipseLinkJPQLQueryBuilder(JPQLGrammar jpqlGrammar)
Creates a new
EclipseLinkJPQLQueryBuilder. |
| Modifier and Type | Method and Description |
|---|---|
JPQLGrammar |
StateObject.getGrammar()
Returns the grammar that defines how to parse a JPQL query.
|
JPQLGrammar |
JPQLQueryStateObject.getGrammar()
Returns the grammar that defines how to parse a JPQL query.
|
JPQLGrammar |
AbstractStateObject.getGrammar()
Returns the grammar that defines how to parse a JPQL query.
|
Copyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.