public class ListAttributeJoin<O,E> extends PluralAttributeJoinSupport<O,List<E>,E> implements ListJoinImplementor<O,E>, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ListAttributeJoin.TreatedListAttributeJoin<O,T> |
AbstractFromImpl.BasicJoinScope, AbstractFromImpl.CorrelationJoinScope, AbstractFromImpl.JoinScope<X>ParameterContainer.HelperDEFAULT_JOIN_TYPE| Constructor and Description |
|---|
ListAttributeJoin(CriteriaBuilderImpl criteriaBuilder,
Class<E> javaType,
PathSource<O> pathSource,
ListAttribute<? super O,E> joinAttribute,
JoinType joinType) |
| Modifier and Type | Method and Description |
|---|---|
ListAttributeJoin<O,E> |
correlateTo(CriteriaSubqueryImpl subquery)
Refined return type
|
protected FromImplementor<O,E> |
createCorrelationDelegate() |
ListAttribute<? super O,E> |
getAttribute()
Retrieve reference to the attribute this path represents.
|
ListAttribute<? super O,E> |
getModel()
Return the metamodel representation for the collection-valued
attribute corresponding to the join.
|
Expression<Integer> |
index()
Create an expression that corresponds to the index of
the object in the referenced association or element
collection.
|
ListAttributeJoin<O,E> |
on(Expression<Boolean> restriction)
Coordinate return type between
Join.on(Expression) and Fetch#on(Expression) |
ListAttributeJoin<O,E> |
on(Predicate... restrictions)
Coordinate return type between
Join.on(Predicate...) and Fetch#on(Predicate...) |
<T extends E> |
treatAs(Class<T> treatAsType)
Defines handling for the JPA 2.1 TREAT down-casting feature.
|
canBeDereferenced, canBeJoinSource, isBasicCollection, locateManagedTypegetJoinType, getOn, getParent, renderTableExpressioncanBeFetchSource, fetch, fetch, fetch, fetch, fetch, fetch, getAlias, getCorrelationParent, getFetches, getJoins, getPathIdentifier, getPathSource, illegalFetch, illegalJoin, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSet, locateAttributeInternal, prepareAlias, prepareCorrelationDelegate, render, renderProjectionget, get, get, get, getParentPath, getPathSourceForSubPaths, illegalDereference, locateAttribute, registerAttributePath, registerParameters, resolveCachedAttributePath, type, unknownAttributeas, asBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asString, in, in, in, in, isNotNull, isNullalias, getCompoundSelectionItems, getValueHandlers, isCompoundSelectionforceConversion, getJavaType, getValueHandler, resetJavaType, setAliascriteriaBuilderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetJoinType, getParentgetCorrelationParent, prepareAlias, prepareCorrelationDelegate, renderTableExpressionasBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asStringgetValueHandlersgetValueHandlerrender, renderProjectiongetPathIdentifiergetJoinType, getOn, getParentgetJoins, isCorrelated, join, join, join, join, join, join, join, join, join, join, join, join, joinCollection, joinCollection, joinList, joinList, joinMap, joinMap, joinSet, joinSetfetch, fetch, fetch, fetch, fetch, fetch, getFetchespublic ListAttributeJoin(CriteriaBuilderImpl criteriaBuilder, Class<E> javaType, PathSource<O> pathSource, ListAttribute<? super O,E> joinAttribute, JoinType joinType)
public Expression<Integer> index()
ListJoinpublic ListAttribute<? super O,E> getAttribute()
PathImplementorgetAttribute in interface Fetch<O,E>getAttribute in interface Join<O,E>getAttribute in interface PathImplementor<E>getAttribute in class PluralAttributeJoinSupport<O,List<E>,E>public ListAttribute<? super O,E> getModel()
PluralJoingetModel in interface ListJoin<O,E>getModel in interface Path<E>getModel in interface PluralJoin<O,List<E>,E>getModel in class PluralAttributeJoinSupport<O,List<E>,E>public final ListAttributeJoin<O,E> correlateTo(CriteriaSubqueryImpl subquery)
JoinImplementorcorrelateTo in interface FromImplementor<O,E>correlateTo in interface JoinImplementor<O,E>correlateTo in interface ListJoinImplementor<O,E>correlateTo in class AbstractJoinImpl<O,E>protected FromImplementor<O,E> createCorrelationDelegate()
createCorrelationDelegate in class AbstractFromImpl<O,E>public ListAttributeJoin<O,E> on(Predicate... restrictions)
JoinImplementorJoin.on(Predicate...) and Fetch#on(Predicate...)on in interface Join<O,E>on in interface ListJoin<O,E>on in interface JoinImplementor<O,E>on in interface ListJoinImplementor<O,E>on in class PluralAttributeJoinSupport<O,List<E>,E>restrictions - zero or more restriction predicatespublic ListAttributeJoin<O,E> on(Expression<Boolean> restriction)
JoinImplementorJoin.on(Expression) and Fetch#on(Expression)on in interface Join<O,E>on in interface ListJoin<O,E>on in interface JoinImplementor<O,E>on in interface ListJoinImplementor<O,E>on in class PluralAttributeJoinSupport<O,List<E>,E>restriction - a simple or compound boolean expressionpublic <T extends E> ListAttributeJoin<O,T> treatAs(Class<T> treatAsType)
PathImplementortreatAs in interface JoinImplementor<O,E>treatAs in interface ListJoinImplementor<O,E>treatAs in interface PathImplementor<E>T - The parameterized type representation of treatAsType.treatAsType - The type to treat the path as.Copyright © 2018 JBoss by Red Hat. All rights reserved.