Package javax.persistence.criteria
Interface CriteriaQuery<T>
-
- All Superinterfaces:
AbstractQuery<T>
public interface CriteriaQuery<T> extends AbstractQuery<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CriteriaQuery<T>distinct(boolean distinct)java.util.List<Order>getOrderList()java.util.Set<ParameterExpression<?>>getParameters()CriteriaQuery<T>groupBy(java.util.List<Expression<?>> grouping)CriteriaQuery<T>groupBy(Expression<?>... grouping)CriteriaQuery<T>having(Expression<java.lang.Boolean> restriction)CriteriaQuery<T>having(Predicate... restrictions)CriteriaQuery<T>multiselect(java.util.List<Selection<?>> selectionList)CriteriaQuery<T>multiselect(Selection<?>... selections)CriteriaQuery<T>orderBy(java.util.List<Order> o)CriteriaQuery<T>orderBy(Order... o)CriteriaQuery<T>select(Selection<? extends T> selection)CriteriaQuery<T>where(Expression<java.lang.Boolean> restriction)CriteriaQuery<T>where(Predicate... restrictions)-
Methods inherited from interface javax.persistence.criteria.AbstractQuery
from, from, getGroupList, getGroupRestriction, getRestriction, getResultType, getRoots, getSelection, isDistinct, subquery
-
-
-
-
Method Detail
-
select
CriteriaQuery<T> select(Selection<? extends T> selection)
-
multiselect
CriteriaQuery<T> multiselect(Selection<?>... selections)
-
multiselect
CriteriaQuery<T> multiselect(java.util.List<Selection<?>> selectionList)
-
where
CriteriaQuery<T> where(Expression<java.lang.Boolean> restriction)
- Specified by:
wherein interfaceAbstractQuery<T>
-
where
CriteriaQuery<T> where(Predicate... restrictions)
- Specified by:
wherein interfaceAbstractQuery<T>
-
groupBy
CriteriaQuery<T> groupBy(Expression<?>... grouping)
- Specified by:
groupByin interfaceAbstractQuery<T>
-
groupBy
CriteriaQuery<T> groupBy(java.util.List<Expression<?>> grouping)
- Specified by:
groupByin interfaceAbstractQuery<T>
-
having
CriteriaQuery<T> having(Expression<java.lang.Boolean> restriction)
- Specified by:
havingin interfaceAbstractQuery<T>
-
having
CriteriaQuery<T> having(Predicate... restrictions)
- Specified by:
havingin interfaceAbstractQuery<T>
-
orderBy
CriteriaQuery<T> orderBy(Order... o)
-
orderBy
CriteriaQuery<T> orderBy(java.util.List<Order> o)
-
distinct
CriteriaQuery<T> distinct(boolean distinct)
- Specified by:
distinctin interfaceAbstractQuery<T>
-
getOrderList
java.util.List<Order> getOrderList()
-
getParameters
java.util.Set<ParameterExpression<?>> getParameters()
-
-