public class CollectionAttributeJoin<O,E> extends PluralAttributeJoinSupport<O,java.util.Collection<E>,E> implements CollectionJoinImplementor<O,E>, java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
CollectionAttributeJoin.TreatedCollectionAttributeJoin<O,T> |
AbstractFromImpl.BasicJoinScope, AbstractFromImpl.CorrelationJoinScope, AbstractFromImpl.JoinScope<X>ParameterContainer.HelperDEFAULT_JOIN_TYPE| Constructor and Description |
|---|
CollectionAttributeJoin(CriteriaBuilderImpl criteriaBuilder,
java.lang.Class<E> javaType,
PathSource<O> pathSource,
javax.persistence.metamodel.CollectionAttribute<? super O,E> joinAttribute,
javax.persistence.criteria.JoinType joinType) |
| Modifier and Type | Method and Description |
|---|---|
CollectionAttributeJoin<O,E> |
correlateTo(CriteriaSubqueryImpl subquery)
Refined return type
|
protected FromImplementor<O,E> |
createCorrelationDelegate() |
javax.persistence.metamodel.CollectionAttribute<? super O,E> |
getAttribute()
Retrieve reference to the attribute this path represents.
|
javax.persistence.metamodel.CollectionAttribute<? super O,E> |
getModel() |
CollectionAttributeJoin<O,E> |
on(javax.persistence.criteria.Expression<java.lang.Boolean> restriction)
Coordinate return type between
Join.on(Expression) and Fetch#on(Expression) |
CollectionAttributeJoin<O,E> |
on(javax.persistence.criteria.Predicate... restrictions)
Coordinate return type between
Join.on(Predicate...) and Fetch#on(Predicate...) |
<T extends E> |
treatAs(java.lang.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, waitgetCorrelationParent, prepareAlias, prepareCorrelationDelegate, renderTableExpressionasBigDecimal, asBigInteger, asDouble, asFloat, asInteger, asLong, asStringgetValueHandlersgetValueHandlerrender, renderProjectiongetPathIdentifierpublic CollectionAttributeJoin(CriteriaBuilderImpl criteriaBuilder, java.lang.Class<E> javaType, PathSource<O> pathSource, javax.persistence.metamodel.CollectionAttribute<? super O,E> joinAttribute, javax.persistence.criteria.JoinType joinType)
public final CollectionAttributeJoin<O,E> correlateTo(CriteriaSubqueryImpl subquery)
JoinImplementorcorrelateTo in interface CollectionJoinImplementor<O,E>correlateTo in interface FromImplementor<O,E>correlateTo in interface JoinImplementor<O,E>correlateTo in class AbstractJoinImpl<O,E>public javax.persistence.metamodel.CollectionAttribute<? super O,E> getAttribute()
PathImplementorgetAttribute in interface javax.persistence.criteria.Fetch<O,E>getAttribute in interface javax.persistence.criteria.Join<O,E>getAttribute in interface PathImplementor<E>getAttribute in class PluralAttributeJoinSupport<O,java.util.Collection<E>,E>public javax.persistence.metamodel.CollectionAttribute<? super O,E> getModel()
getModel in interface javax.persistence.criteria.CollectionJoin<O,E>getModel in interface javax.persistence.criteria.Path<E>getModel in interface javax.persistence.criteria.PluralJoin<O,java.util.Collection<E>,E>getModel in class PluralAttributeJoinSupport<O,java.util.Collection<E>,E>protected FromImplementor<O,E> createCorrelationDelegate()
createCorrelationDelegate in class AbstractFromImpl<O,E>public CollectionAttributeJoin<O,E> on(javax.persistence.criteria.Predicate... restrictions)
JoinImplementorJoin.on(Predicate...) and Fetch#on(Predicate...)on in interface javax.persistence.criteria.CollectionJoin<O,E>on in interface javax.persistence.criteria.Join<O,E>on in interface CollectionJoinImplementor<O,E>on in interface JoinImplementor<O,E>on in class PluralAttributeJoinSupport<O,java.util.Collection<E>,E>public CollectionAttributeJoin<O,E> on(javax.persistence.criteria.Expression<java.lang.Boolean> restriction)
JoinImplementorJoin.on(Expression) and Fetch#on(Expression)on in interface javax.persistence.criteria.CollectionJoin<O,E>on in interface javax.persistence.criteria.Join<O,E>on in interface CollectionJoinImplementor<O,E>on in interface JoinImplementor<O,E>on in class PluralAttributeJoinSupport<O,java.util.Collection<E>,E>public <T extends E> CollectionAttributeJoin<O,T> treatAs(java.lang.Class<T> treatAsType)
PathImplementortreatAs in interface CollectionJoinImplementor<O,E>treatAs in interface JoinImplementor<O,E>treatAs in interface PathImplementor<E>T - The parameterized type representation of treatAsType.treatAsType - The type to treat the path as.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.