Class InternalSubstringStringExpressionBNF
java.lang.Object
org.eclipse.persistence.jpa.jpql.parser.JPQLQueryBNF
org.eclipse.persistence.jpa.jpql.parser.InternalSubstringStringExpressionBNF
The query BNF for the parameter of the
JPA 1.0:
JPA 2.0:
JPA 2.1:
LENGTH
expression.
JPA 1.0:
BNF ::= SUBSTRING(string_primary, simple_arithmetic_expression, simple_arithmetic_expression)
JPA 2.0:
BNF ::= SUBSTRING(string_primary, simple_arithmetic_expression [, simple_arithmetic_expression])
JPA 2.1:
BNF ::= SUBSTRING(string_expression, arithmetic_expression [, arithmetic_expression])
- Since:
- 2.4
- Version:
- 2.5
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCreates a newInternalSubstringStringExpressionBNF
. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Initializes this BNF by registering childJPQLQueryBNFs
andExpressionFactories
.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 Details
-
ID
The unique identifier of this BNF rule.- See Also:
-
-
Constructor Details
-
InternalSubstringStringExpressionBNF
public InternalSubstringStringExpressionBNF()Creates a newInternalSubstringStringExpressionBNF
.
-
-
Method Details
-
initialize
protected void initialize()Description copied from class:JPQLQueryBNF
Initializes this BNF by registering childJPQLQueryBNFs
andExpressionFactories
.- Overrides:
initialize
in classJPQLQueryBNF
-