public final class JPQLQueryBuilder2_0 extends AbstractJPQLQueryBuilder
IJPQLQueryBuilder
that provides support based on the Java Persistence
functional specification defined in JSR-337 - Java
Persistence 2.0.Constructor and Description |
---|
JPQLQueryBuilder2_0()
Creates a new
JPQLQueryBuilder2_0 . |
Modifier and Type | Method and Description |
---|---|
protected DefaultStateObjectBuilder |
buildStateObjectBuilder()
Creates the builder that creates the
StateObject for each Expression . |
DefaultConditionalExpressionStateObjectBuilder |
buildStateObjectBuilder(AbstractConditionalClauseStateObject stateObject)
Creates a builder that can create a conditional expression programmatically.
|
DefaultSelectExpressionStateObjectBuilder |
buildStateObjectBuilder(SelectClauseStateObject stateObject)
Creates a builder that can create a select expression programmatically.
|
DefaultSimpleSelectExpressionStateObjectBuilder |
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, wrap
public JPQLQueryBuilder2_0()
JPQLQueryBuilder2_0
.protected DefaultStateObjectBuilder buildStateObjectBuilder()
StateObject
for each Expression
.buildStateObjectBuilder
in class AbstractJPQLQueryBuilder
Expression
public DefaultConditionalExpressionStateObjectBuilder 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 DefaultSelectExpressionStateObjectBuilder 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 DefaultSimpleSelectExpressionStateObjectBuilder 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