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 ajava.util.Collection
.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 (tuple, array, or result of 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 types of joins.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 ajava.util.List
.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 ajava.util.Map
.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 ajava.util.Set
.Subquery<T>TheSubquery
interface defines functionality that is specific to subqueries.