116 | javax.persistence.criteria Interface CompoundSelection<X> Superinterfaces: Selection<X>, TupleElement<X> The CompoundSelection interface defines a compound selection item (tuple, array, or result of constructor). Since: JPA 2.0 Selection<X> alias(String name) Assigns an alias to the selection item |
75 | ). Multi Selection The Selection interface is also a super interface of CompoundSelection ... clause). The CriteriaBuilder interface provides three factory methods for building CompoundSelection ... a CompoundSelection instance, which represents results as arrays. The following code demonstrates the execution |
62 | expressions can be represented by CompoundSelection, which is itself a subinterface of Selection |
14 | CompoundSelection<Object[]> array( Selection... selections) Create an array-valued selection item. Create ... conjuncts is true. Returns: and predicate Since: JPA 2.0 CompoundSelection<Y> construct(Class<Y ... for string to trim Returns: trim expression Since: JPA 2.0 CompoundSelection< Tuple> tuple( Selection |
8 | javax.persistence Interface TupleElement<X> Subinterfaces: CollectionJoin, CompoundSelection, Case, Coalesce, In, SimpleCase, Expression, From, Join, ListJoin, MapJoin, ParameterExpression, Path, PluralJoin, Predicate, Root, Selection, SetJoin, Subquery The TupleElement interface defines an element |
8 | Method javax.persistence.criteria.CriteriaBuilder CompoundSelection<Object[]> array( Selection... selections ) Create an array-valued selection item. Parameters: selections - selection items Returns: array-valued compound selection Throws: IllegalArgumentException - if an argument is a tuple- or array-valued selection item Since: JPA 2.0 |
8 | javax.persistence.criteria Interface Selection<X> Superinterfaces: TupleElement<X> Subinterfaces: CollectionJoin, CompoundSelection, Case, Coalesce, In, SimpleCase, Expression, From, Join, ListJoin, MapJoin, ParameterExpression, Path, PluralJoin, Predicate, Root, SetJoin, Subquery The Selection |
8 | Method javax.persistence.criteria.CriteriaBuilder CompoundSelection<Y> construct( Class<Y> resultClass, Selection... selections ) Create a selection item corresponding to a constructor. This method is used to specify a constructor that will be applied to the results of the query execution |
8 | Method javax.persistence.criteria.CriteriaBuilder CompoundSelection<X> construct( Class<T> resultClass, Selection[]<X> selections ) Create a selection item corresponding to a constructor. This method is used to specify a constructor that will be applied to the results of the query execution |
8 | Method javax.persistence.criteria.CriteriaBuilder CompoundSelection<Tuple> tuple( Selection... selections ) Create a tuple-valued selection item. Parameters: selections - selection items Returns: tuple-valued compound selection Throws: IllegalArgumentException - if an argument is a tuple- or array-valued selection item Since: JPA 2.0 |