X
- the type of the selection itemTupleElement<X>
CollectionJoin<Z,E>
, CompoundSelection<X>
, CriteriaBuilder.Case<R>
, CriteriaBuilder.Coalesce<T>
, CriteriaBuilder.In<T>
, CriteriaBuilder.SimpleCase<C,R>
, Expression<T>
, From<Z,X>
, Join<Z,X>
, ListJoin<Z,E>
, MapJoin<Z,K,V>
, ParameterExpression<T>
, Path<X>
, PluralJoin<Z,C,E>
, Predicate
, Root<X>
, SetJoin<Z,E>
, Subquery<T>
public interface Selection<X> extends TupleElement<X>
Selection
interface defines an item that is to be
returned in a query result.Modifier and Type | Method | Description |
---|---|---|
Selection<X> |
alias(java.lang.String name) |
Assigns an alias to the selection item.
|
java.util.List<Selection<?>> |
getCompoundSelectionItems() |
Return the selection items composing a compound selection.
|
boolean |
isCompoundSelection() |
Whether the selection item is a compound selection.
|
getAlias, getJavaType
Selection<X> alias(java.lang.String name)
name
- aliasboolean isCompoundSelection()
java.util.List<Selection<?>> getCompoundSelectionItems()
java.lang.IllegalStateException
- if selection is not a
compound selectionCopyright © 2018. All rights reserved.