Interface QueryDslSupport<E>
-
- Type Parameters:
E- generic type of the entity to query.
- All Known Subinterfaces:
DefaultRepository<E>,DefaultRevisionedRepository<E>,GenericRepository<E,ID>,GenericRevisionedRepository<E,ID>
- All Known Implementing Classes:
GenericRepositoryImpl,GenericRevisionedRepositoryImpl
public interface QueryDslSupport<E>Interface for QueryDsl support. All (non-static) methods defined in this interface are considered as internal API of aGenericRepositoryin order to be used by Java8+ default-method implementations for simplicity. Never call such methods from outside the data-access layer.- Since:
- 3.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EnewDslAlias()Attention: Please read documentation ofQueryDslSupportbefore usage.com.querydsl.jpa.impl.JPADeleteClausenewDslDeleteClause(com.querydsl.core.types.EntityPath<E> entityPath)Attention: Please read documentation ofQueryDslSupportbefore usage.com.querydsl.jpa.impl.JPADeleteClausenewDslDeleteClause(E alias)Attention: Please read documentation ofQueryDslSupportbefore usage.com.querydsl.jpa.impl.JPAQuery<E>newDslQuery()Attention: Please read documentation ofQueryDslSupportbefore usage.com.querydsl.jpa.impl.JPAQuery<E>newDslQuery(E alias)Attention: Please read documentation ofQueryDslSupportbefore usage.
-
-
-
Method Detail
-
newDslQuery
com.querydsl.jpa.impl.JPAQuery<E> newDslQuery()
Attention: Please read documentation ofQueryDslSupportbefore usage.- Returns:
- a new
JPAQuery. In most cases you should prefer usingnewDslQuery(Object)instead.
-
newDslQuery
com.querydsl.jpa.impl.JPAQuery<E> newDslQuery(E alias)
Attention: Please read documentation ofQueryDslSupportbefore usage.- Parameters:
alias- thealias.- Returns:
- a new
JPAQueryfor the givenAlias.
-
newDslDeleteClause
com.querydsl.jpa.impl.JPADeleteClause newDslDeleteClause(E alias)
Attention: Please read documentation ofQueryDslSupportbefore usage.- Parameters:
alias- thealias.- Returns:
- a new
JPADeleteClausefor the givenAlias.
-
newDslDeleteClause
com.querydsl.jpa.impl.JPADeleteClause newDslDeleteClause(com.querydsl.core.types.EntityPath<E> entityPath)
Attention: Please read documentation ofQueryDslSupportbefore usage.- Parameters:
entityPath- theEntityPathto delete from.- Returns:
- a new
JPADeleteClausefor the givenEntityPath.
-
newDslAlias
E newDslAlias()
Attention: Please read documentation ofQueryDslSupportbefore usage.- Returns:
- a new QueryDSL
Aliasfor the managed entity.
-
-