@Internal
protected final class AbstractSqlLikeQueryBuilder.QueryState
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
addAdditionalRequiredParameter(java.lang.String name)
Add a required parameter.
|
java.lang.String |
addParameter(PersistentProperty persistentProperty,
java.lang.String path,
QueryParameter queryParameter) |
java.lang.String |
applyJoin(JoinPath jp)
Applies a join for the given association.
|
java.lang.String |
computeAlias(java.lang.String associationPath)
Computes the alias for the given association path given the current state of the joins.
|
@NotNull java.util.Map<java.lang.String,java.lang.String> |
getAdditionalRequiredParameters()
The additional required parameters.
|
PersistentEntity |
getEntity() |
java.util.List<QueryParameterBinding> |
getParameterBindings()
The parameter binding.
|
java.lang.StringBuilder |
getQuery() |
QueryModel |
getQueryModel() |
java.lang.String |
getRootAlias() |
java.lang.StringBuilder |
getWhereClause() |
boolean |
isAllowJoins() |
boolean |
isJoined(java.lang.String associationPath)
Checks if the path is joined already.
|
boolean |
shouldEscape() |
@Nullable public java.lang.String getRootAlias()
public PersistentEntity getEntity()
public java.lang.String addAdditionalRequiredParameter(@NonNull java.lang.String name)
name
- The namepublic java.lang.StringBuilder getQuery()
public java.lang.StringBuilder getWhereClause()
public boolean isAllowJoins()
public QueryModel getQueryModel()
public java.lang.String applyJoin(@NonNull JoinPath jp)
jp
- The join path@NonNull public java.lang.String computeAlias(java.lang.String associationPath)
associationPath
- The association path.public boolean isJoined(java.lang.String associationPath)
associationPath
- The association path.public boolean shouldEscape()
@NotNull public @NotNull java.util.Map<java.lang.String,java.lang.String> getAdditionalRequiredParameters()
public java.util.List<QueryParameterBinding> getParameterBindings()
public java.lang.String addParameter(@NonNull PersistentProperty persistentProperty, java.lang.String path, @Nullable QueryParameter queryParameter)