Top Description Interfaces Classes Enums
module org.eclipse.persistence.jpa.jpql

Package 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.

Interface Summary

Modifier and TypeInterface and Description
public interface
EclipseLinkSemanticValidatorExtension

This extension provides additional support to semantic validation by adding support for non-JPA specific artifacts, such as database objects.

public interface
public interface
JPQLQueryDeclaration

A JPQLQueryDeclaration represents either an identification variable declaration or a collection member declaration.

public interface
JPQLQueryProblem

A problem describes an issue found in a JPQL query because it is either grammatically or semantically incorrect.

public interface
JPQLQueryProblemMessages

The list of messages used by JPQLQueryProblems when validating a JPQL query.

public interface
SemanticValidatorHelper

This helper is used by AbstractSemanticValidator in order to retrieve JPA information.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractEclipseLinkParameterTypeVisitor

This visitor calculates the type of an input parameter.

public class
AbstractEclipseLinkSemanticValidator

This validator is responsible to gather the problems found in a JPQL query by validating the content to make sure it is semantically valid for EclipseLink.

public abstract class
AbstractGrammarValidator

The base validator responsible to gather the problems found in a JPQL query by validating it against the provided JPQL grammar.

public abstract class
AbstractSemanticValidator

The base validator responsible to gather the problems found in a JPQL query by validating the content to make sure it is semantically valid, i.e. based on the information contained in the JPA application.

public abstract class
AbstractValidator

The abstract definition of a validator, which provides helper methods and visitors.

public class
Assert

An utility class that provides various checks and when the condition fails, then an AssertException is thrown.

public class
BaseDeclarationIdentificationVariableFinder

This visitor traverses the parsed tree and retrieves the IdentificationVariable defined in the base range variable declaration for the top-level statement if and only if the query is a DELETE or UPDATE query.

pack-priv class
DefaultJPQLQueryProblem

The default implementation of JPQLQueryProblem.

public class
EclipseLinkGrammarValidator

This validator adds EclipseLink extension over what the JPA functional specification had defined.

public class
EclipseLinkLiteralVisitor

This visitor traverses an Expression and retrieves the "literal" value.

public class
ExpressionTools

A utility class containing various methods related to the Hermes parser.

public class
JPQLQueryProblemResourceBundle

The resource bundle containing the problems encountered in a JPQL query.

public abstract class
LiteralVisitor

This visitor traverses an Expression and retrieves the "literal" value.

public abstract class
ParameterTypeVisitor

This visitor calculates the type of an input parameter.

public class
WordParser

This "parser/scanner" holds onto the string version of the JPQL query that is parsed into a parsed tree.

Enum Summary

Modifier and TypeEnum and Description
public enum
EclipseLinkVersion

An enumeration listing the various releases of EclipseLink.

public enum
JPAVersion

An enumeration listing the various releases of the Java Persistence specification.

public enum
LiteralType

Some Expression can have a "literal", this enumeration is used to visit an Expression and to retrieve the right value.