|
EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.jpa.jpql.parser.DefaultJPQLGrammar
public final class DefaultJPQLGrammar
This JPQL grammar
provides support for parsing JPQL queries defined in the
latest JPA functional specification. The current version of the functional specification is
JSR-338 - Java Persistence 2.1.
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.
JPQLGrammar2_1
,
DefaultJPQLGrammar
,
DefaultEclipseLinkJPQLGrammar
Field Summary | |
---|---|
static java.lang.String |
PROVIDER_NAME
The generic persistence provider name: JPA. |
Method Summary | |
---|---|
ExpressionRegistry |
getExpressionRegistry()
Returns the registry containing the JPQLQueryBNFs and the ExpressionFactories that are used
to properly parse a JPQL query. |
JPAVersion |
getJPAVersion()
Returns the JPAVersion of the Java Persistence supported by this grammar. |
java.lang.String |
getProvider()
Returns the persistence provider name. |
java.lang.String |
getProviderVersion()
Returns the version of the persistence provider. |
static JPQLGrammar |
instance()
Returns the singleton instance of this class. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROVIDER_NAME
Method Detail |
---|
public static JPQLGrammar instance()
DefaultJPQLGrammar
public ExpressionRegistry getExpressionRegistry()
JPQLQueryBNFs
and the ExpressionFactories
that are used
to properly parse a JPQL query.
getExpressionRegistry
in interface JPQLGrammar
public JPAVersion getJPAVersion()
JPAVersion
of the Java Persistence supported by this grammar.
getJPAVersion
in interface JPQLGrammar
JPA version
supported by this grammarpublic java.lang.String getProvider()
getProvider
in interface JPQLGrammar
null
should never be returnedpublic java.lang.String getProviderVersion()
getProviderVersion
in interface JPQLGrammar
public java.lang.String toString()
toString
in class java.lang.Object
|
EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |