Uses of Interface
jakarta.persistence.criteria.Selection
Packages that use Selection
-
Uses of Selection in jakarta.persistence.criteria
Subinterfaces of Selection in jakarta.persistence.criteriaModifier and TypeInterfaceDescriptioninterface
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
.interface
TheCompoundSelection
interface defines a compound selection item (a tuple, array, or result of a constructor).static interface
Interface used to build general case expressions.static interface
Interface used to build coalesce expressions.static interface
Interface used to build in predicates.static interface
Interface used to build simple case expressions.interface
Expression<T>
Type for query expressions.interface
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.interface
Join<Z,
X> A join to an entity, embeddable, or basic type.interface
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
.interface
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
.interface
Type of criteria query parameter expressions.interface
Path<X>
Represents a simple or compound attribute path from a bound type or collection, and is a "primitive" expression.interface
PluralJoin<Z,
C, E> ThePluralJoin
interface defines functionality that is common to joins to all collection types.interface
The type of a simple or compound predicate: a conjunction or disjunction of restrictions.interface
Root<X>
A root type in the from clause.interface
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
.interface
Subquery<T>
TheSubquery
interface defines functionality that is specific to subqueries.Methods in jakarta.persistence.criteria that return SelectionModifier and TypeMethodDescriptionAssigns an alias to the selection item.AbstractQuery.getSelection()
Return the selection of the query, or null if no selection has been set.Methods in jakarta.persistence.criteria that return types with arguments of type SelectionModifier and TypeMethodDescriptionSelection.getCompoundSelectionItems()
Return the selection items composing a compound selection.Methods in jakarta.persistence.criteria with parameters of type SelectionModifier and TypeMethodDescriptionCreate an array-valued selection item.<Y> CompoundSelection
<Y> Create a selection item corresponding to a constructor.CriteriaQuery.multiselect
(Selection<?>... selections) Deprecated.Specify the item that is to be returned in the query result.Create a tuple-valued selection item.Method parameters in jakarta.persistence.criteria with type arguments of type SelectionModifier and TypeMethodDescriptionCreate an array-valued selection item.CriteriaQuery.multiselect
(List<Selection<?>> selectionList) Deprecated.Since this method is not typesafe, the use ofCriteriaBuilder.array(jakarta.persistence.criteria.Selection<?>...)
orCriteriaBuilder.tuple(jakarta.persistence.criteria.Selection<?>...)
withCriteriaQuery.select(jakarta.persistence.criteria.Selection<? extends T>)
is strongly preferred.Create a tuple-valued selection item.
CriteriaBuilder.array(jakarta.persistence.criteria.Selection<?>...)
orCriteriaBuilder.tuple(jakarta.persistence.criteria.Selection<?>...)
withCriteriaQuery.select(jakarta.persistence.criteria.Selection<? extends T>)
is strongly preferred.