Interface PluralJoin<Z,C,E>
- Type Parameters:
Z- the source typeC- the collection typeE- the element type of the collection
- All Superinterfaces:
Expression<E>, FetchParent<Z,E>, From<Z, E>, Join<Z, E>, Path<E>, Selection<E>, TupleElement<E>
- All Known Subinterfaces:
CollectionJoin<Z,E>, ListJoin<Z, E>, MapJoin<Z, K, V>, SetJoin<Z, E>
The
PluralJoin interface defines functionality
that is common to joins to all collection types. It is
not intended to be used directly in query construction.- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptionPluralAttribute<? super Z, C, E> getModel()Return the metamodel representation for the collection-valued attribute corresponding to the join.<T extends E>
PluralJoin<Z, ?, T> Downcast the element type to the given type.Methods inherited from interface Expression
as, cast, coalesce, coalesce, count, countDistinct, equalTo, equalTo, in, in, in, in, in, isMember, isNotMember, isNotNull, isNull, notEqualTo, notEqualTo, nullif, nullif, selectCaseMethods inherited from interface FetchParent
fetch, fetch, fetch, fetch, fetch, fetch, getFetchesMethods inherited from interface From
getCorrelationParent, getJoins, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSetMethods inherited from interface Join
getAttribute, getJoinType, getOn, getParent, on, on, onMethods inherited from interface Path
get, get, get, get, get, get, get, get, get, getParentPath, typeMethods inherited from interface Selection
alias, getCompoundSelectionItems, isCompoundSelectionMethods inherited from interface TupleElement
getAlias, getJavaType
-
Method Details
-
getModel
-
treat
Downcast the element type to the given type.- Specified by:
treatin interfaceFrom<Z,C> - Specified by:
treatin interfaceJoin<Z,C> - Specified by:
treatin interfacePath<Z>- Type Parameters:
T- the subtype of the element type- Parameters:
type- a subtype of the element type- Returns:
- this plural join downcast to the given element type
- Since:
- 4.0
-