public final class EclipseLinkJPQLQueryBuilder extends AbstractJPQLQueryBuilder
IJPQLQueryBuilder that provides support based on the release
of the Java Persistence functional specification defined in
JSR-337 - Java Persistence 2.0. EclipseLink 2.1 provides additional support for 2 additional
JPQL identifiers: FUNC and TREAT.| Constructor and Description |
|---|
EclipseLinkJPQLQueryBuilder(JPQLGrammar jpqlGrammar)
Creates a new
EclipseLinkJPQLQueryBuilder. |
| Modifier and Type | Method and Description |
|---|---|
protected EclipseLinkStateObjectBuilder |
buildStateObjectBuilder()
Creates the builder that creates the
StateObject for each Expression. |
IConditionalExpressionStateObjectBuilder |
buildStateObjectBuilder(AbstractConditionalClauseStateObject stateObject)
Creates a builder that can create a conditional expression programmatically.
|
EclipseLinkSelectExpressionStateObjectBuilder |
buildStateObjectBuilder(SelectClauseStateObject stateObject)
Creates a builder that can create a select expression programmatically.
|
EclipseLinkSimpleSelectExpressionStateObjectBuilder |
buildStateObjectBuilder(SimpleSelectClauseStateObject stateObject)
Creates a builder that can create a single select expression programmatically.
|
INewValueStateObjectBuilder |
buildStateObjectBuilder(UpdateItemStateObject stateObject)
Creates a builder that can create a new value expression programmatically.
|
JPQLGrammar |
getGrammar()
Returns the
JPQLGrammar that is associated with this builder. |
java.lang.String |
toString() |
buildCaseExpressionStateObjectBuilder, buildStateObject, buildStateObject, buildStateObject, getStateObjectBuilder, parse, parse, wrappublic EclipseLinkJPQLQueryBuilder(JPQLGrammar jpqlGrammar)
EclipseLinkJPQLQueryBuilder.jpqlGrammar - The JPQLGrammar that will be used to parse JPQL queries, which has
EclipseLink supportprotected EclipseLinkStateObjectBuilder buildStateObjectBuilder()
StateObject for each Expression.buildStateObjectBuilder in class AbstractJPQLQueryBuilderExpressionpublic IConditionalExpressionStateObjectBuilder buildStateObjectBuilder(AbstractConditionalClauseStateObject stateObject)
IConditionalExpressionStateObjectBuilder.commit() will push
the result onto the given state object.stateObject - The clause for which a conditional expression can be createdpublic EclipseLinkSelectExpressionStateObjectBuilder buildStateObjectBuilder(SelectClauseStateObject stateObject)
ISelectExpressionStateObjectBuilder.commit() will push the result onto the
given state object.stateObject - The clause for which one or many select expressions can be createdpublic EclipseLinkSimpleSelectExpressionStateObjectBuilder buildStateObjectBuilder(SimpleSelectClauseStateObject stateObject)
ISimpleSelectExpressionStateObjectBuilder.commit() will push
the result onto the given state object.stateObject - The clause for which a select expression can be createdpublic INewValueStateObjectBuilder buildStateObjectBuilder(UpdateItemStateObject stateObject)
INewValueStateObjectBuilder.commit() will push the result
onto the given state object.stateObject - The parent for which a new value expression can be createdpublic JPQLGrammar getGrammar()
JPQLGrammar that is associated with this builder.JPQLGrammar that was used to parse the JPQL query or JPQL fragmentspublic java.lang.String toString()
toString in class java.lang.Object