Package org.hibernate.query.criteria
Interface JpaCriteriaBase
- All Superinterfaces:
CommonAbstractCriteria,JpaCriteriaNode,Serializable
- All Known Subinterfaces:
JpaCriteriaDelete<T>,JpaCriteriaInsert<T>,JpaCriteriaInsertSelect<T>,JpaCriteriaInsertValues<T>,JpaCriteriaQuery<T>,JpaCriteriaUpdate<T>,JpaManipulationCriteria<E>,JpaQueryableCriteria<T>,JpaSelectCriteria<T>,JpaSubQuery<T>,SqmDeleteOrUpdateStatement<T>,SqmDmlStatement<E>,SqmInsertStatement<T>,SqmQuery<T>,SqmSelectQuery<T>,SqmStatement<T>
- All Known Implementing Classes:
AbstractSqmDmlStatement,AbstractSqmInsertStatement,AbstractSqmRestrictedDmlStatement,AbstractSqmSelectQuery,AbstractSqmStatement,CriteriaDefinition,SqmDeleteStatement,SqmInsertSelectStatement,SqmInsertValuesStatement,SqmSelectStatement,SqmSubQuery,SqmUpdateStatement
- Author:
- Steve Ebersole
-
Method Summary
Modifier and TypeMethodDescriptionReturn the predicate that corresponds to the where clause restriction(s), or null if no restrictions have been specified.<U> JpaSubQuery<U>Create a subquery of the query.
-
Method Details
-
subquery
Description copied from interface:CommonAbstractCriteriaCreate a subquery of the query.- Specified by:
subqueryin interfaceCommonAbstractCriteria- Parameters:
type- the subquery result type- Returns:
- subquery
-
getRestriction
JpaPredicate getRestriction()Description copied from interface:CommonAbstractCriteriaReturn the predicate that corresponds to the where clause restriction(s), or null if no restrictions have been specified.- Specified by:
getRestrictionin interfaceCommonAbstractCriteria- Returns:
- where clause predicate
-