public interface QueryDsl
extends com.holonplatform.core.datastore.DatastoreCommodity
DatastoreCommodity for JPA Datastore QueryDSL integration.| Modifier and Type | Method and Description |
|---|---|
JpaDeleteClause |
delete(com.querydsl.core.types.EntityPath<?> entity)
Create a new DELETE clause.
|
default JpaQuery<?> |
from(com.querydsl.core.types.EntityPath<?>... froms)
Create a new
JpaQuery with the given sources. |
default JpaQuery<?> |
from(com.querydsl.core.types.EntityPath<?> from)
Create a new
JpaQuery with the given source. |
JpaQuery<?> |
query()
Create a new query.
|
default JpaQuery<com.querydsl.core.Tuple> |
select(com.querydsl.core.types.Expression<?>... expressions)
Create a new
JpaQuery instance with the given projection. |
default <T> JpaQuery<T> |
select(com.querydsl.core.types.Expression<T> expression)
Create a new
JpaQuery instance with the given projection. |
default JpaQuery<com.querydsl.core.Tuple> |
selectDistinct(com.querydsl.core.types.Expression<?>... expressions)
Create a new
JpaQuery instance with the given distinct projection. |
default <T> JpaQuery<T> |
selectDistinct(com.querydsl.core.types.Expression<T> expression)
Create a new
JpaQuery instance with the given distinct projection. |
default <T> JpaQuery<T> |
selectFrom(com.querydsl.core.types.EntityPath<T> from)
Create a new
JpaQuery instance with the given source and projection. |
default JpaQuery<Integer> |
selectOne()
Create a new
JpaQuery instance with the projection one. |
default JpaQuery<Integer> |
selectZero()
Create a new
JpaQuery instance with the projection zero. |
JpaUpdateClause |
update(com.querydsl.core.types.EntityPath<?> entity)
Create a new UPDATE clause.
|
default <T> JpaQuery<T> select(com.querydsl.core.types.Expression<T> expression)
JpaQuery instance with the given projection.T - Expression and query result typeexpression - projectiondefault JpaQuery<com.querydsl.core.Tuple> select(com.querydsl.core.types.Expression<?>... expressions)
JpaQuery instance with the given projection.expressions - projectionsdefault <T> JpaQuery<T> selectDistinct(com.querydsl.core.types.Expression<T> expression)
JpaQuery instance with the given distinct projection.T - Expression and query result typeexpression - projectiondefault JpaQuery<com.querydsl.core.Tuple> selectDistinct(com.querydsl.core.types.Expression<?>... expressions)
JpaQuery instance with the given distinct projection.expressions - projectiondefault JpaQuery<Integer> selectOne()
JpaQuery instance with the projection one.default JpaQuery<Integer> selectZero()
JpaQuery instance with the projection zero.default <T> JpaQuery<T> selectFrom(com.querydsl.core.types.EntityPath<T> from)
JpaQuery instance with the given source and projection.T - Projection and source typefrom - projection and sourcedefault JpaQuery<?> from(com.querydsl.core.types.EntityPath<?> from)
JpaQuery with the given source.from - Query sourcedefault JpaQuery<?> from(com.querydsl.core.types.EntityPath<?>... froms)
JpaQuery with the given sources.froms - Query sourcesJpaUpdateClause update(com.querydsl.core.types.EntityPath<?> entity)
entity - Entity to update (not null)JpaDeleteClause delete(com.querydsl.core.types.EntityPath<?> entity)
entity - Entity to delete from (not null)Copyright © 2019 The Holon Platform. All rights reserved.