Module jakarta.persistence
Package jakarta.persistence.criteria
package jakarta.persistence.criteria
Jakarta Persistence Criteria API
-
ClassDescriptionThe
AbstractQuery
interface defines functionality that is common to both top-level queries and subqueries.CollectionJoin<Z,E> TheCollectionJoin
interface is the type of the result of joining to a collection over an association or element collection that has been specified as aCollection
.TheCommonAbstractCriteria
interface defines functionality that is common to both top-level criteria queries and subqueries as well as to update and delete criteria operations.TheCompoundSelection
interface defines a compound selection item (a tuple, array, or result of a constructor).Used to construct criteria queries, compound selections, expressions, predicates, orderings.Interface used to build general case expressions.Interface used to build coalesce expressions.Interface used to build in predicates.Interface used to build simple case expressions.Used to specify how strings are trimmed.TheCriteriaDelete
interface defines functionality for performing bulk delete operations using the Criteria APITheCriteriaQuery
interface defines functionality that is specific to top-level queries.TheCriteriaUpdate
interface defines functionality for performing bulk update operations using the Criteria API.Expression<T>Type for query expressions.Fetch<Z,X> Represents a join-fetched association or attribute.FetchParent<Z,X> Represents an element of the from clause which may function as the parent of Fetches.From<Z,X> Represents a bound type, usually an entity that appears in the from clause, but may also be an embeddable belonging to an entity in the from clause.Join<Z,X> A join to an entity, embeddable, or basic type.Defines the three varieties of join.ListJoin<Z,E> TheListJoin
interface is the type of the result of joining to a collection over an association or element collection that has been specified as aList
.Each instance represents a type of field which can be extracted from aLocalDate
.Each instance represents a type of field which can be extracted from aLocalDateTime
.Each instance represents a type of field which can be extracted from aLocalTime
.MapJoin<Z,K, V> TheMapJoin
interface is the type of the result of joining to a collection over an association or element collection that has been specified as aMap
.Specifies the precedence of null values within query result sets.An object that defines an ordering over the query results.Type of criteria query parameter expressions.Path<X>Represents a simple or compound attribute path from a bound type or collection, and is a "primitive" expression.PluralJoin<Z,C, E> ThePluralJoin
interface defines functionality that is common to joins to all collection types.The type of a simple or compound predicate: a conjunction or disjunction of restrictions.Root<X>A root type in the from clause.Selection<X>TheSelection
interface defines an item that is to be returned in a query result.SetJoin<Z,E> TheSetJoin
interface is the type of the result of joining to a collection over an association or element collection that has been specified as aSet
.Subquery<T>TheSubquery
interface defines functionality that is specific to subqueries.TemporalField<N,T extends Temporal> Each instance represents a type of field which can be extracted from a date, time, or datetime.