Interface JpaSelectCriteria<T>

    • Method Detail

      • from

        <X> JpaDerivedRoot<X> from​(jakarta.persistence.criteria.Subquery<X> subquery)
        Create and add a query root corresponding to the given subquery, forming a cartesian product with any existing roots.
        Parameters:
        subquery - the subquery
        Returns:
        query root corresponding to the given subquery
      • from

        <X> JpaRoot<X> from​(JpaCteCriteria<X> cte)
        Create and add a query root corresponding to the given cte, forming a cartesian product with any existing roots.
        Parameters:
        cte - the cte criteria
        Returns:
        query root corresponding to the given cte
      • distinct

        JpaSelectCriteria<T> distinct​(boolean distinct)
        Specified by:
        distinct in interface jakarta.persistence.criteria.AbstractQuery<T>
      • getSelection

        JpaSelection<T> getSelection()
        Specified by:
        getSelection in interface jakarta.persistence.criteria.AbstractQuery<T>
      • from

        <X> JpaRoot<X> from​(Class<X> entityClass)
        Specified by:
        from in interface jakarta.persistence.criteria.AbstractQuery<T>
      • from

        <X> JpaRoot<X> from​(jakarta.persistence.metamodel.EntityType<X> entity)
        Specified by:
        from in interface jakarta.persistence.criteria.AbstractQuery<T>
      • where

        JpaSelectCriteria<T> where​(jakarta.persistence.criteria.Expression<Boolean> restriction)
        Specified by:
        where in interface jakarta.persistence.criteria.AbstractQuery<T>
      • where

        JpaSelectCriteria<T> where​(jakarta.persistence.criteria.Predicate... restrictions)
        Specified by:
        where in interface jakarta.persistence.criteria.AbstractQuery<T>
      • groupBy

        JpaSelectCriteria<T> groupBy​(jakarta.persistence.criteria.Expression<?>... grouping)
        Specified by:
        groupBy in interface jakarta.persistence.criteria.AbstractQuery<T>
      • groupBy

        JpaSelectCriteria<T> groupBy​(List<jakarta.persistence.criteria.Expression<?>> grouping)
        Specified by:
        groupBy in interface jakarta.persistence.criteria.AbstractQuery<T>
      • getGroupRestriction

        JpaPredicate getGroupRestriction()
        Specified by:
        getGroupRestriction in interface jakarta.persistence.criteria.AbstractQuery<T>
      • having

        JpaSelectCriteria<T> having​(jakarta.persistence.criteria.Expression<Boolean> restriction)
        Specified by:
        having in interface jakarta.persistence.criteria.AbstractQuery<T>
      • having

        JpaSelectCriteria<T> having​(jakarta.persistence.criteria.Predicate... restrictions)
        Specified by:
        having in interface jakarta.persistence.criteria.AbstractQuery<T>