Uses of Interface
jakarta.persistence.criteria.Selection
-
Packages that use Selection Package Description jakarta.persistence.criteria Jakarta Persistence Criteria API -
-
Uses of Selection in jakarta.persistence.criteria
Subinterfaces of Selection in jakarta.persistence.criteria Modifier and Type Interface Description interfaceCollectionJoin<Z,E>TheCollectionJoininterface is the type of the result of joining to a collection over an association or element collection that has been specified as aCollection.interfaceCompoundSelection<X>TheCompoundSelectioninterface defines a compound selection item (a tuple, array, or result of a constructor).static interfaceCriteriaBuilder.Case<R>Interface used to build general case expressions.static interfaceCriteriaBuilder.Coalesce<T>Interface used to build coalesce expressions.static interfaceCriteriaBuilder.In<T>Interface used to build in predicates.static interfaceCriteriaBuilder.SimpleCase<C,R>Interface used to build simple case expressions.interfaceExpression<T>Type for query expressions.interfaceFrom<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.interfaceJoin<Z,X>A join to an entity, embeddable, or basic type.interfaceListJoin<Z,E>TheListJoininterface is the type of the result of joining to a collection over an association or element collection that has been specified as aList.interfaceMapJoin<Z,K,V>TheMapJoininterface is the type of the result of joining to a collection over an association or element collection that has been specified as aMap.interfaceParameterExpression<T>Type of criteria query parameter expressions.interfacePath<X>Represents a simple or compound attribute path from a bound type or collection, and is a "primitive" expression.interfacePluralJoin<Z,C,E>ThePluralJoininterface defines functionality that is common to joins to all collection types.interfacePredicateThe type of a simple or compound predicate: a conjunction or disjunction of restrictions.interfaceRoot<X>A root type in the from clause.interfaceSetJoin<Z,E>TheSetJoininterface is the type of the result of joining to a collection over an association or element collection that has been specified as aSet.interfaceSubquery<T>TheSubqueryinterface defines functionality that is specific to subqueries.Methods in jakarta.persistence.criteria that return Selection Modifier and Type Method Description Selection<X>Selection. alias(java.lang.String name)Assigns an alias to the selection item.Selection<T>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 Selection Modifier and Type Method Description java.util.List<Selection<?>>Selection. getCompoundSelectionItems()Return the selection items composing a compound selection.Methods in jakarta.persistence.criteria with parameters of type Selection Modifier and Type Method Description CompoundSelection<java.lang.Object[]>CriteriaBuilder. array(Selection<?>... selections)Create an array-valued selection item.<Y> CompoundSelection<Y>CriteriaBuilder. construct(java.lang.Class<Y> resultClass, Selection<?>... selections)Create a selection item corresponding to a constructor.CriteriaQuery<T>CriteriaQuery. multiselect(Selection<?>... selections)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.CriteriaQuery<T>CriteriaQuery. select(Selection<? extends T> selection)Specify the item that is to be returned in the query result.CompoundSelection<Tuple>CriteriaBuilder. tuple(Selection<?>... selections)Create a tuple-valued selection item.Method parameters in jakarta.persistence.criteria with type arguments of type Selection Modifier and Type Method Description CompoundSelection<java.lang.Object[]>CriteriaBuilder. array(java.util.List<Selection<?>> selections)Create an array-valued selection item.CriteriaQuery<T>CriteriaQuery. multiselect(java.util.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.CompoundSelection<Tuple>CriteriaBuilder. tuple(java.util.List<Selection<?>> selections)Create a tuple-valued selection item.
-