类 CriteriaQueryImpl<T>

  • 所有已实现的接口:
    Serializable, javax.persistence.criteria.AbstractQuery<T>, javax.persistence.criteria.CommonAbstractCriteria, javax.persistence.criteria.CriteriaQuery<T>, CompilableCriteria

    public class CriteriaQueryImpl<T>
    extends AbstractNode
    implements javax.persistence.criteria.CriteriaQuery<T>, CompilableCriteria, Serializable
    The Hibernate implementation of the JPA CriteriaQuery contract. Mostly a set of delegation to its internal QueryStructure.
    作者:
    Steve Ebersole
    另请参阅:
    序列化表格
    • 方法详细资料

      • getResultType

        public Class<T> getResultType()
        指定者:
        getResultType 在接口中 javax.persistence.criteria.AbstractQuery<T>
      • distinct

        public javax.persistence.criteria.CriteriaQuery<T> distinct​(boolean applyDistinction)
        指定者:
        distinct 在接口中 javax.persistence.criteria.AbstractQuery<T>
        指定者:
        distinct 在接口中 javax.persistence.criteria.CriteriaQuery<T>
      • isDistinct

        public boolean isDistinct()
        指定者:
        isDistinct 在接口中 javax.persistence.criteria.AbstractQuery<T>
      • getSelection

        public javax.persistence.criteria.Selection<T> getSelection()
        指定者:
        getSelection 在接口中 javax.persistence.criteria.AbstractQuery<T>
      • applySelection

        public void applySelection​(javax.persistence.criteria.Selection<? extends T> selection)
      • select

        public javax.persistence.criteria.CriteriaQuery<T> select​(javax.persistence.criteria.Selection<? extends T> selection)
        指定者:
        select 在接口中 javax.persistence.criteria.CriteriaQuery<T>
      • multiselect

        public javax.persistence.criteria.CriteriaQuery<T> multiselect​(javax.persistence.criteria.Selection<?>... selections)
        指定者:
        multiselect 在接口中 javax.persistence.criteria.CriteriaQuery<T>
      • multiselect

        public javax.persistence.criteria.CriteriaQuery<T> multiselect​(List<javax.persistence.criteria.Selection<?>> selections)
        指定者:
        multiselect 在接口中 javax.persistence.criteria.CriteriaQuery<T>
      • getRoots

        public Set<javax.persistence.criteria.Root<?>> getRoots()
        指定者:
        getRoots 在接口中 javax.persistence.criteria.AbstractQuery<T>
      • from

        public <X> javax.persistence.criteria.Root<X> from​(javax.persistence.metamodel.EntityType<X> entityType)
        指定者:
        from 在接口中 javax.persistence.criteria.AbstractQuery<T>
      • from

        public <X> javax.persistence.criteria.Root<X> from​(Class<X> entityClass)
        指定者:
        from 在接口中 javax.persistence.criteria.AbstractQuery<T>
      • getRestriction

        public javax.persistence.criteria.Predicate getRestriction()
        指定者:
        getRestriction 在接口中 javax.persistence.criteria.CommonAbstractCriteria
      • where

        public javax.persistence.criteria.CriteriaQuery<T> where​(javax.persistence.criteria.Expression<Boolean> expression)
        指定者:
        where 在接口中 javax.persistence.criteria.AbstractQuery<T>
        指定者:
        where 在接口中 javax.persistence.criteria.CriteriaQuery<T>
      • where

        public javax.persistence.criteria.CriteriaQuery<T> where​(javax.persistence.criteria.Predicate... predicates)
        指定者:
        where 在接口中 javax.persistence.criteria.AbstractQuery<T>
        指定者:
        where 在接口中 javax.persistence.criteria.CriteriaQuery<T>
      • getGroupList

        public List<javax.persistence.criteria.Expression<?>> getGroupList()
        指定者:
        getGroupList 在接口中 javax.persistence.criteria.AbstractQuery<T>
      • groupBy

        public javax.persistence.criteria.CriteriaQuery<T> groupBy​(javax.persistence.criteria.Expression<?>... groupings)
        指定者:
        groupBy 在接口中 javax.persistence.criteria.AbstractQuery<T>
        指定者:
        groupBy 在接口中 javax.persistence.criteria.CriteriaQuery<T>
      • groupBy

        public javax.persistence.criteria.CriteriaQuery<T> groupBy​(List<javax.persistence.criteria.Expression<?>> groupings)
        指定者:
        groupBy 在接口中 javax.persistence.criteria.AbstractQuery<T>
        指定者:
        groupBy 在接口中 javax.persistence.criteria.CriteriaQuery<T>
      • getGroupRestriction

        public javax.persistence.criteria.Predicate getGroupRestriction()
        指定者:
        getGroupRestriction 在接口中 javax.persistence.criteria.AbstractQuery<T>
      • having

        public javax.persistence.criteria.CriteriaQuery<T> having​(javax.persistence.criteria.Expression<Boolean> expression)
        指定者:
        having 在接口中 javax.persistence.criteria.AbstractQuery<T>
        指定者:
        having 在接口中 javax.persistence.criteria.CriteriaQuery<T>
      • having

        public javax.persistence.criteria.CriteriaQuery<T> having​(javax.persistence.criteria.Predicate... predicates)
        指定者:
        having 在接口中 javax.persistence.criteria.AbstractQuery<T>
        指定者:
        having 在接口中 javax.persistence.criteria.CriteriaQuery<T>
      • getOrderList

        public List<javax.persistence.criteria.Order> getOrderList()
        指定者:
        getOrderList 在接口中 javax.persistence.criteria.CriteriaQuery<T>
      • orderBy

        public javax.persistence.criteria.CriteriaQuery<T> orderBy​(javax.persistence.criteria.Order... orders)
        指定者:
        orderBy 在接口中 javax.persistence.criteria.CriteriaQuery<T>
      • orderBy

        public javax.persistence.criteria.CriteriaQuery<T> orderBy​(List<javax.persistence.criteria.Order> orders)
        指定者:
        orderBy 在接口中 javax.persistence.criteria.CriteriaQuery<T>
      • getParameters

        public Set<javax.persistence.criteria.ParameterExpression<?>> getParameters()
        指定者:
        getParameters 在接口中 javax.persistence.criteria.CriteriaQuery<T>
      • subquery

        public <U> javax.persistence.criteria.Subquery<U> subquery​(Class<U> subqueryType)
        指定者:
        subquery 在接口中 javax.persistence.criteria.CommonAbstractCriteria