public final class JPQLQueryBuilder1_0 extends AbstractJPQLQueryBuilder
IJPQLQueryBuilder
that provides support based on the Java Persistence
functional specification defined in JSR-220 -
Enterprise JavaBeans 3.0.Constructor and Description |
---|
JPQLQueryBuilder1_0()
Creates a new
JPQLQueryBuilder1_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 JPQLQueryBuilder1_0()
JPQLQueryBuilder1_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