StateObject representation of a JPQL
query.
Some default implementations are available:
JPQLQueryBuilder1_0JPQLQueryBuilder2_0EclipseLinkJPQLQueryBuilderIManagedTypeProvider, StateObject
| Modifier and Type | Method and Description |
|---|---|
| public ICaseExpressionStateObjectBuilder | Returns: The builder of aCASE expressionThe parent)StateObject that will be the parent of the newly created modelCreates a builder that can create a |
| public JPQLQueryStateObject | Returns: The root of theStateObject model that represents the edited form of the JPQL queryThe provider of managed types provider, CharSequence The JPQL query to parse into a jpqlQuery, boolean StateObject modelDetermines if the parsing system should be tolerant, meaning if it should try
to parse invalid or incomplete queries tolerant)Creates a state model representation of a JPQL query that can be edited. |
| public JPQLQueryStateObject | Returns: The root of theStateObject model that represents the edited form of the JPQL queryThe provider of managed types provider, CharSequence The JPQL query to parse into a jpqlQuery, String StateObject modelThe unique identifier of the query BNF that will be used to parse the fragment queryBNFId, boolean Determines if the parsing system should be tolerant, meaning if it should try
to parse invalid or incomplete queries tolerant)Creates a state model representation of a JPQL query that can be edited. |
| public StateObject | Returns: TheStateObject representation of the given JPQL fragmentThe parent, CharSequence StateObject that will be the parent of the newly created modelA portion of a JPQL query that will be parsed and the jpqlFragment, String StateObject
representation will be createdThe unique identifier of the query BNF that will be used to parse the fragment queryBNFId)Creates a |
| public IConditionalExpressionStateObjectBuilder | Returns: The builder of a conditional expressionThe clause for which a conditional expression can be created stateObject)Creates a builder that can create a conditional expression programmatically. |
| public ISelectExpressionStateObjectBuilder | Returns: The builder of a conditional expressionThe clause for which one or many select expressions can be created stateObject)Creates a builder that can create a select expression programmatically. |
| public ISimpleSelectExpressionStateObjectBuilder | Returns: The builder of a conditional expressionThe clause for which a select expression can be created stateObject)Creates a builder that can create a single select expression programmatically. |
| public INewValueStateObjectBuilder | Returns: The builder of a new value expressionThe parent for which a new value expression can be created stateObject)Creates a builder that can create a new value expression programmatically. |
| public JPQLGrammar | Returns: TheJPQLGrammar that was used to parse the JPQL query or JPQL fragmentsReturns the |
| buildCaseExpressionStateObjectBuilder | back to summary |
|---|---|
| public ICaseExpressionStateObjectBuilder buildCaseExpressionStateObjectBuilder(StateObject parent) Creates a builder that can create a
| |
| buildStateObject | back to summary |
|---|---|
| public JPQLQueryStateObject buildStateObject(IManagedTypeProvider provider, CharSequence jpqlQuery, boolean tolerant) Creates a state model representation of a JPQL query that can be edited.
| |
| buildStateObject | back to summary |
|---|---|
| public JPQLQueryStateObject buildStateObject(IManagedTypeProvider provider, CharSequence jpqlQuery, String queryBNFId, boolean tolerant) Creates a state model representation of a JPQL query that can be edited.
| |
| buildStateObject | back to summary |
|---|---|
| public StateObject buildStateObject(StateObject parent, CharSequence jpqlFragment, String queryBNFId) Creates a It is possible the given JPQL fragment has more than one expression, in this case, parsing should stop at the first comma (x, y) or space (x y) where x and y are two separate expressions.
| |
| buildStateObjectBuilder | back to summary |
|---|---|
| public IConditionalExpressionStateObjectBuilder buildStateObjectBuilder(AbstractConditionalClauseStateObject stateObject) Creates a builder that can create a conditional expression programmatically. Once the
expression is complete,
| |
| buildStateObjectBuilder | back to summary |
|---|---|
| public ISelectExpressionStateObjectBuilder buildStateObjectBuilder(SelectClauseStateObject stateObject) Creates a builder that can create a select expression programmatically. Once the expression is
complete,
| |
| buildStateObjectBuilder | back to summary |
|---|---|
| public ISimpleSelectExpressionStateObjectBuilder buildStateObjectBuilder(SimpleSelectClauseStateObject stateObject) Creates a builder that can create a single select expression programmatically. Once the
expression is complete,
| |
| buildStateObjectBuilder | back to summary |
|---|---|
| public INewValueStateObjectBuilder buildStateObjectBuilder(UpdateItemStateObject stateObject) Creates a builder that can create a new value expression programmatically. Once the
expression is complete,
| |
| getGrammar | back to summary |
|---|---|
| public JPQLGrammar getGrammar() Returns the
| |