public interface QueryParser
Modifier and Type | Interface and Description |
---|---|
static class |
QueryParser.QueryPath |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
getAllEntityNames() |
java.lang.String |
getEntityAlias() |
java.lang.String |
getEntityAlias(java.lang.String targetEntity)
Main entity alias
|
java.lang.String |
getEntityName()
Main entity name
|
java.lang.String |
getOriginalEntityName() |
java.lang.String |
getOriginalEntityPath() |
java.util.Set<java.lang.String> |
getParamNames()
Get all parameter names
|
java.util.List<QueryParser.QueryPath> |
getQueryPaths() |
java.util.List<java.lang.String> |
getSelectedExpressionsList() |
boolean |
hasIsNotNullCondition(java.lang.String attribute) |
boolean |
hasIsNullCondition(java.lang.String attribute) |
boolean |
isCollectionOriginalEntitySelect() |
boolean |
isEntitySelect(java.lang.String targetEntity)
Returns true if this is a standard select from an entity - not count() and not fields (e.id, etc.)
|
boolean |
isParameterInCondition(java.lang.String parameterName) |
default boolean |
isParameterUsedInAnyCondition(java.lang.String paramName) |
boolean |
isQueryWithJoins()
Returns true if SELECT query contains joins
|
static final java.lang.String NAME
java.util.Set<java.lang.String> getParamNames()
java.lang.String getEntityName()
java.util.Set<java.lang.String> getAllEntityNames()
java.lang.String getEntityAlias(java.lang.String targetEntity)
java.lang.String getEntityAlias()
boolean isEntitySelect(java.lang.String targetEntity)
boolean hasIsNullCondition(java.lang.String attribute)
boolean hasIsNotNullCondition(java.lang.String attribute)
boolean isQueryWithJoins()
@Nullable java.lang.String getOriginalEntityName()
@Nullable java.lang.String getOriginalEntityPath()
boolean isCollectionOriginalEntitySelect()
boolean isParameterInCondition(java.lang.String parameterName)
java.util.List<java.lang.String> getSelectedExpressionsList()
java.util.List<QueryParser.QueryPath> getQueryPaths()
default boolean isParameterUsedInAnyCondition(java.lang.String paramName)