Interface QueryBuilder2.BaseQueryDefinition

All Known Subinterfaces:
QueryBuilder2.DeleteQueryDefinition, QueryBuilder2.SelectQueryDefinition, QueryBuilder2.UpdateQueryDefinition
Enclosing interface:
QueryBuilder2

public static interface QueryBuilder2.BaseQueryDefinition
The base query definition.
  • Method Details

    • persistentEntity

      @NonNull @NonNull PersistentEntity persistentEntity()
      Returns:
      The persistent entity
    • predicate

      @Nullable @Nullable jakarta.persistence.criteria.Predicate predicate()
      Returns:
      The predicate
    • getJoinPaths

      Collection<JoinPath> getJoinPaths()
      Returns:
      The join paths.
    • getJoinPath

      Optional<JoinPath> getJoinPath(String path)
      Obtain the join type for the given association.
      Parameters:
      path - The path
      Returns:
      The join type for the association.
    • limit

      default int limit()
      Returns:
      The limit or -1 if not set
    • offset

      default int offset()
      Returns:
      The offset or -1 if not set