|
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.tools.model.AbstractJPQLQueryBuilder
org.eclipse.persistence.jpa.jpql.tools.model.EclipseLinkJPQLQueryBuilder
public final class EclipseLinkJPQLQueryBuilder
An implementation of 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 Summary | |
|---|---|
EclipseLinkJPQLQueryBuilder(JPQLGrammar jpqlGrammar)
Creates a new EclipseLinkJPQLQueryBuilder. |
|
| Method Summary | |
|---|---|
protected EclipseLinkStateObjectBuilder |
buildStateObjectBuilder()
Creates the builder that creates the StateObject for each {@link org.eclipse. |
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()
|
| Methods inherited from class org.eclipse.persistence.jpa.jpql.tools.model.AbstractJPQLQueryBuilder |
|---|
buildCaseExpressionStateObjectBuilder, buildStateObject, buildStateObject, buildStateObject, getStateObjectBuilder, parse, parse, wrap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EclipseLinkJPQLQueryBuilder(JPQLGrammar jpqlGrammar)
EclipseLinkJPQLQueryBuilder.
jpqlGrammar - The JPQLGrammar that will be used to parse JPQL queries, which has
EclipseLink support| Method Detail |
|---|
protected EclipseLinkStateObjectBuilder buildStateObjectBuilder()
StateObject for each persistence.jpa.jpql.parser.Expression Expression.
buildStateObjectBuilder in class AbstractJPQLQueryBuilderExpression Expressionpublic 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 created
public 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 created
public 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 created
public 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 created
public 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
|
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 | ||||||||