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 |
getEntityNameIfSecondaryReturnedInsteadOfMain() |
java.lang.String |
getEntityPathIfSecondaryReturnedInsteadOfMain() |
java.util.Set<java.lang.String> |
getParamNames()
Get all parameter names
|
java.util.List<QueryParser.QueryPath> |
getQueryPaths() |
boolean |
hasIsNullCondition(java.lang.String attribute) |
boolean |
hasJoins()
Returns true if SELECT query contains joins
|
boolean |
isCollectionSecondaryEntitySelect() |
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) |
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 hasJoins()
@Nullable java.lang.String getEntityNameIfSecondaryReturnedInsteadOfMain()
@Nullable java.lang.String getEntityPathIfSecondaryReturnedInsteadOfMain()
boolean isCollectionSecondaryEntitySelect()
boolean isParameterInCondition(java.lang.String parameterName)
java.util.List<QueryParser.QueryPath> getQueryPaths()