Interface QueryBuilder2.SelectQueryDefinition
- All Superinterfaces:
QueryBuilder2.BaseQueryDefinition
- Enclosing interface:
- QueryBuilder2
public static interface QueryBuilder2.SelectQueryDefinition
extends QueryBuilder2.BaseQueryDefinition
The select query definition.
-
Method Summary
Methods inherited from interface io.micronaut.data.model.query.builder.QueryBuilder2.BaseQueryDefinition
getJoinPath, getJoinPaths, limit, offset, persistentEntity, predicate
-
Method Details
-
root
@NonNull @NonNull jakarta.persistence.criteria.Root<?> root()- Returns:
- The root
-
selection
@NonNull @NonNull jakarta.persistence.criteria.Selection<?> selection()- Returns:
- The selection
-
order
- Returns:
- The order
-
isForUpdate
default boolean isForUpdate()- Returns:
- Is the query marked for update
-
isDistinct
default boolean isDistinct()- Returns:
- Is the selection marked as distinct.
-
parametersInRole
- Returns:
- The parameters in role
-