Class LocalExpressionBNF
- java.lang.Object
-
- org.eclipse.persistence.jpa.jpql.parser.JPQLQueryBNF
-
- org.eclipse.persistence.jpa.jpql.parser.LocalExpressionBNF
-
public class LocalExpressionBNF extends JPQLQueryBNF
The query BNF for local date/time expression.
Jakarta Persistence 3.1:BNF:functions_returning_datetime ::= CURRENT_DATE | CURRENT_TIME | CURRENT_TIMESTAMP | LOCAL local_datetime_type | extract_datetime_par local_datetime_type ::= DATE | ..... matches Java java.time.LocalDate TIME | ..... matches Java java.time.LocalTime DATETIME ..... matches Java java.time.LocalDateTime
-
-
Constructor Summary
Constructors Constructor Description LocalExpressionBNF()Creates a newLocalExpressionBNF.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidinitialize()Initializes this BNF by registering childJPQLQueryBNFsandExpressionFactories.-
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.JPQLQueryBNF
children, getExpressionFactory, getExpressionFactoryIds, getExpressionRegistry, getFallbackBNFId, getFallbackExpressionFactoryId, getId, getIdentifiers, handleAggregate, handleCollection, handlesNestedArray, handleSubExpression, hasChild, hasIdentifier, isCompound, nonCompoundChildren, registerChild, registerExpressionFactory, setCompound, setFallbackBNFId, setFallbackExpressionFactoryId, setHandleAggregate, setHandleCollection, setHandleNestedArray, setHandleSubExpression, toString, toString
-
-
-
-
Field Detail
-
ID
public static final String ID
The unique identifier of this BNF rule.- See Also:
- Constant Field Values
-
-
Method Detail
-
initialize
protected void initialize()
Description copied from class:JPQLQueryBNFInitializes this BNF by registering childJPQLQueryBNFsandExpressionFactories.- Overrides:
initializein classJPQLQueryBNF
-
-