Uses of Interface
org.eclipse.persistence.jpa.jpql.parser.JPQLGrammar
Packages that use 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
Methods in org.eclipse.persistence.internal.jpa.jpql that return JPQLGrammarModifier and TypeMethodDescriptionJPQLQueryHelper.getGrammar()Returns the JPQL grammar that will be used to define how to parse a JPQL query.Constructors in org.eclipse.persistence.internal.jpa.jpql with parameters of type JPQLGrammarModifierConstructorDescriptionJPQLQueryHelper(JPQLGrammar jpqlGrammar) Creates a newJPQLQueryHelper. -
Uses of JPQLGrammar in org.eclipse.persistence.jpa.jpql
Methods in org.eclipse.persistence.jpa.jpql that return JPQLGrammarModifier and TypeMethodDescriptionprotected JPQLGrammarAbstractGrammarValidator.getGrammar()protected JPQLGrammarAbstractSemanticValidator.getGrammar()protected abstract JPQLGrammarAbstractValidator.getGrammar()Returns theJPQLGrammarthat defines how the JPQL query was parsed.SemanticValidatorHelper.getGrammar()Returns theJPQLGrammarthat defines how the JPQL query was parsed.Constructors in org.eclipse.persistence.jpa.jpql with parameters of type JPQLGrammarModifierConstructorDescriptionprotectedAbstractGrammarValidator(JPQLGrammar jpqlGrammar) Creates a newAbstractGrammarValidator.EclipseLinkGrammarValidator(JPQLGrammar jpqlGrammar) Creates a newEclipseLinkGrammarValidator. -
Uses of JPQLGrammar in org.eclipse.persistence.jpa.jpql.parser
Classes in org.eclipse.persistence.jpa.jpql.parser that implement JPQLGrammarModifier and TypeClassDescriptionclassThe abstract definition of aJPQLGrammar.final classThisJPQL grammarprovides support for parsing JPQL queries defined by the latest Jakarta Persistence functional specification and the latest EclipseLink.final classThisJPQL grammarprovides support for parsing JPQL queries defined in the latest Jakarta Persistence functional specification.final classThisJPQL grammarprovides support for parsing JPQL queries defined in JSR-220 - Enterprise JavaBeans 3.0.final classThisJPQLGrammarprovides support for parsing JPQL queries defined in JSR-337 - Java Persistence 2.0.final classThisJPQLGrammarprovides support for parsing JPQL queries defined in JSR-337 - Java Persistence 2.0 and the additional support provided by EclipseLink 2.1.final classThisJPQLGrammarprovides support for parsing JPQL queries defined in JSR-337 - Java Persistence 2.0.final classThisJPQLGrammarprovides support for parsing JPQL queries defined in JSR-337 - Java Persistence 2.0.final classThisJPQLGrammarprovides support for parsing JPQL queries defined in JSR-338 - Java Persistence 2.1 and the additional support provided by EclipseLink 2.4.final classThisJPQLGrammarprovides support for parsing JPQL queries defined in JSR-338 - Java Persistence 2.1 and the additional support provided by EclipseLink 2.5.final classThisJPQLGrammarprovides support for parsing JPQL queries defined in JSR-338 - Java Persistence 2.1 and the additional support provided by EclipseLink 2.6.classThisJPQLGrammarprovides support for parsing JPQL queries defined in Jakarta Persistence 3.1 and the additional support provided by EclipseLink 4.0.final classThisJPQLGrammarprovides support for parsing JPQL queries defined in JSR-220 - Enterprise JavaBeans 3.0.final classThisJPQLGrammarprovides support for parsing JPQL queries defined in JSR-337 - Java Persistence 2.0.final classThisJPQLGrammarprovides support for parsing JPQL queries defined in JSR-338 - Java Persistence 2.1.classThisJPQLGrammarprovides support for parsing JPQL queries defined in Java Persistence 2.2.classThisJPQLGrammarprovides support for parsing JPQL queries defined in Jakarta Persistence 3.0.classThisJPQLGrammarprovides support for parsing JPQL queries defined in Jakarta Persistence 3.1.Methods in org.eclipse.persistence.jpa.jpql.parser that return JPQLGrammarModifier and TypeMethodDescriptionprotected abstract JPQLGrammarAbstractJPQLGrammar.buildBaseGrammar()Creates the baseJPQLGrammarthis one extends, if one exists.protected JPQLGrammarEclipseLinkJPQLGrammar1.buildBaseGrammar()protected JPQLGrammarEclipseLinkJPQLGrammar2_0.buildBaseGrammar()protected JPQLGrammarEclipseLinkJPQLGrammar2_1.buildBaseGrammar()protected JPQLGrammarEclipseLinkJPQLGrammar2_2.buildBaseGrammar()protected JPQLGrammarEclipseLinkJPQLGrammar2_3.buildBaseGrammar()protected JPQLGrammarEclipseLinkJPQLGrammar2_4.buildBaseGrammar()protected JPQLGrammarEclipseLinkJPQLGrammar2_5.buildBaseGrammar()protected JPQLGrammarEclipseLinkJPQLGrammar2_6.buildBaseGrammar()protected JPQLGrammarEclipseLinkJPQLGrammar4_0.buildBaseGrammar()protected JPQLGrammarJPQLGrammar1_0.buildBaseGrammar()protected JPQLGrammarJPQLGrammar2_0.buildBaseGrammar()protected JPQLGrammarJPQLGrammar2_1.buildBaseGrammar()protected JPQLGrammarJPQLGrammar2_2.buildBaseGrammar()protected JPQLGrammarJPQLGrammar3_0.buildBaseGrammar()protected JPQLGrammarJPQLGrammar3_1.buildBaseGrammar()AbstractJPQLGrammar.getBaseGrammar()Creates the baseJPQLGrammarthis one extends.AbstractExpression.getGrammar()Expression.getGrammar()Returns theJPQLGrammarthat defines how the JPQL query was parsed.JPQLExpression.getGrammar()static JPQLGrammarDefaultEclipseLinkJPQLGrammar.instance()Returns the singleton instance of this class.static JPQLGrammarDefaultJPQLGrammar.instance()Returns the singleton instance of this class.static JPQLGrammarEclipseLinkJPQLGrammar1.instance()Returns the singleton instance of this class.static JPQLGrammarEclipseLinkJPQLGrammar2_0.instance()Returns the singleton instance of this class.static JPQLGrammarEclipseLinkJPQLGrammar2_1.instance()Returns the singleton instance of this class.static JPQLGrammarEclipseLinkJPQLGrammar2_2.instance()Returns the singleton instance of this class.static JPQLGrammarEclipseLinkJPQLGrammar2_3.instance()Returns the singleton instance of this class.static JPQLGrammarEclipseLinkJPQLGrammar2_4.instance()Returns the singleton instance of this class.static JPQLGrammarEclipseLinkJPQLGrammar2_5.instance()Returns the singleton instance of this class.static JPQLGrammarEclipseLinkJPQLGrammar2_6.instance()Returns the singleton instance of this class.static JPQLGrammarEclipseLinkJPQLGrammar4_0.instance()Returns the singleton instance of this class.static JPQLGrammarJPQLGrammar1_0.instance()Returns the singleton instance of the default implementation ofJPQLGrammarwhich provides support for the JPQL grammar defined in the JPA 1.0 functional specification.static JPQLGrammarJPQLGrammar2_0.instance()Returns the singleton instance of the default implementation ofJPQLGrammarwhich provides support for the JPQL grammar defined in the JPA 2.0 functional specification.static JPQLGrammarJPQLGrammar2_1.instance()Returns the singleton instance of the default implementation ofJPQLGrammarwhich provides support for the JPQL grammar defined in the JPA 2.1 functional specification.static JPQLGrammarJPQLGrammar2_2.instance()Returns the singleton instance of the default implementation ofJPQLGrammarwhich provides support for the JPQL grammar defined in the JPA 2.2 functional specification.static JPQLGrammarJPQLGrammar3_0.instance()Returns the singleton instance of the default implementation ofJPQLGrammarwhich provides support for the JPQL grammar defined in the Jakarta Persistence 3.0 functional specification.static JPQLGrammarJPQLGrammar3_1.instance()Returns the singleton instance of the default implementation ofJPQLGrammarwhich provides support for the JPQL grammar defined in the Jakarta Persistence 3.1 functional specification.Constructors in org.eclipse.persistence.jpa.jpql.parser with parameters of type JPQLGrammarModifierConstructorDescriptionJPQLExpression(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 newJPQLExpressionthat 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
Methods in org.eclipse.persistence.jpa.jpql.tools that return JPQLGrammarModifier and TypeMethodDescriptionAbstractJPQLQueryHelper.getGrammar()Returns the JPQL grammar that will be used to define how to parse a JPQL query.BasicRefactoringTool.getGrammar()Returns theJPQLGrammarthat is associated with this builder.DefaultContentAssistProposals.getGrammar()Returns theJPQLGrammarthat 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 theJPQLGrammarthat is associated with this builder.protected abstract JPQLGrammarAbstractContentAssistVisitor.getLatestGrammar()Returns the latest supported JPQL grammar, which is required when checking the validity of a JPQL identifier.protected JPQLGrammarDefaultContentAssistVisitor.getLatestGrammar()protected JPQLGrammarEclipseLinkContentAssistVisitor.getLatestGrammar()Methods in org.eclipse.persistence.jpa.jpql.tools with parameters of type JPQLGrammarModifier and TypeMethodDescriptionprotected abstract AbstractGrammarValidatorAbstractJPQLQueryHelper.buildGrammarValidator(JPQLGrammar jpqlGrammar) Creates the concrete instance of the validator that will grammatically validate the JPQL query.protected DefaultGrammarValidatorDefaultJPQLQueryHelper.buildGrammarValidator(JPQLGrammar jpqlGrammar) protected EclipseLinkGrammarValidatorEclipseLinkJPQLQueryHelper.buildGrammarValidator(JPQLGrammar jpqlGrammar) protected abstract JPQLQueryContextAbstractJPQLQueryHelper.buildJPQLQueryContext(JPQLGrammar jpqlGrammar) Creates a context that will be used to store and retrieve information about the JPQL query.protected JPQLQueryContextDefaultJPQLQueryHelper.buildJPQLQueryContext(JPQLGrammar jpqlGrammar) protected JPQLQueryContextEclipseLinkJPQLQueryHelper.buildJPQLQueryContext(JPQLGrammar jpqlGrammar) protected voidDefaultContentAssistProposals.initialize(JPQLGrammar jpqlGrammar, ContentAssistExtension extension) protected voidJPQLQueryContext.initialize(JPQLGrammar jpqlGrammar) Initializes thisJPQLQueryContext.Constructors in org.eclipse.persistence.jpa.jpql.tools with parameters of type JPQLGrammarModifierConstructorDescriptionAbstractJPQLQueryHelper(JPQLGrammar jpqlGrammar) Creates a newAbstractJPQLQueryHelper.protectedBasicRefactoringTool(CharSequence jpqlQuery, JPQLGrammar jpqlGrammar, IManagedTypeProvider managedTypeProvider) Creates a newBasicRefactoringTool.protectedBasicRefactoringTool(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
Methods in org.eclipse.persistence.jpa.jpql.tools.model that return JPQLGrammarModifier and TypeMethodDescriptionEclipseLinkJPQLQueryBuilder.getGrammar()IJPQLQueryBuilder.getGrammar()Returns theJPQLGrammarthat is associated with this builder.JPQLQueryBuilder1_0.getGrammar()JPQLQueryBuilder2_0.getGrammar()JPQLQueryBuilder2_1.getGrammar()JPQLQueryBuilderWrapper.getGrammar()Methods in org.eclipse.persistence.jpa.jpql.tools.model with parameters of type JPQLGrammarModifier and TypeMethodDescriptionprotected JPQLExpressionAbstractJPQLQueryBuilder.parse(CharSequence jpqlQuery, JPQLGrammar jpqlGrammar, boolean tolerant) Parses the given JPQL query with tolerant mode turned on.protected JPQLExpressionAbstractJPQLQueryBuilder.parse(CharSequence jpqFragment, JPQLGrammar jpqlGrammar, String queryBNFId) Parses the given JPQL fragment with tolerant mode turned on.Constructors in org.eclipse.persistence.jpa.jpql.tools.model with parameters of type JPQLGrammarModifierConstructorDescriptionEclipseLinkJPQLQueryBuilder(JPQLGrammar jpqlGrammar) Creates a newEclipseLinkJPQLQueryBuilder. -
Uses of JPQLGrammar in org.eclipse.persistence.jpa.jpql.tools.model.query
Methods in org.eclipse.persistence.jpa.jpql.tools.model.query that return JPQLGrammarModifier and TypeMethodDescriptionAbstractStateObject.getGrammar()JPQLQueryStateObject.getGrammar()StateObject.getGrammar()Returns the grammar that defines how to parse a JPQL query.