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 aGenericRepository
in 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 E
newDslAlias()
Attention: Please read documentation ofQueryDslSupport
before usage.com.querydsl.jpa.impl.JPADeleteClause
newDslDeleteClause(com.querydsl.core.types.EntityPath<E> entityPath)
Attention: Please read documentation ofQueryDslSupport
before usage.com.querydsl.jpa.impl.JPADeleteClause
newDslDeleteClause(E alias)
Attention: Please read documentation ofQueryDslSupport
before usage.com.querydsl.jpa.impl.JPAQuery<E>
newDslQuery()
Attention: Please read documentation ofQueryDslSupport
before usage.com.querydsl.jpa.impl.JPAQuery<E>
newDslQuery(E alias)
Attention: Please read documentation ofQueryDslSupport
before usage.
-
-
-
Method Detail
-
newDslQuery
com.querydsl.jpa.impl.JPAQuery<E> newDslQuery()
Attention: Please read documentation ofQueryDslSupport
before 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 ofQueryDslSupport
before usage.- Parameters:
alias
- thealias
.- Returns:
- a new
JPAQuery
for the givenAlias
.
-
newDslDeleteClause
com.querydsl.jpa.impl.JPADeleteClause newDslDeleteClause(E alias)
Attention: Please read documentation ofQueryDslSupport
before usage.- Parameters:
alias
- thealias
.- Returns:
- a new
JPADeleteClause
for the givenAlias
.
-
newDslDeleteClause
com.querydsl.jpa.impl.JPADeleteClause newDslDeleteClause(com.querydsl.core.types.EntityPath<E> entityPath)
Attention: Please read documentation ofQueryDslSupport
before usage.- Parameters:
entityPath
- theEntityPath
to delete from.- Returns:
- a new
JPADeleteClause
for the givenEntityPath
.
-
newDslAlias
E newDslAlias()
Attention: Please read documentation ofQueryDslSupport
before usage.- Returns:
- a new QueryDSL
Alias
for the managed entity.
-
-