Z - type from which joiningX - type of the attribute being joinedpublic class FetchImpl<Z,X> extends PathImpl<Z,X> implements javax.persistence.criteria.Fetch<Z,X>
| Modifier and Type | Field and Description |
|---|---|
protected Set<javax.persistence.criteria.Fetch<X,?>> |
fetches |
protected javax.persistence.criteria.JoinType |
joinType |
cb| Constructor and Description |
|---|
FetchImpl(CriteriaBuilderImpl cb,
FromImpl<?,Z> parent,
AttributeImpl<? super Z,X> attr,
javax.persistence.criteria.JoinType joinType)
Constructor for a fetch join to an entity.
|
| Modifier and Type | Method and Description |
|---|---|
<Y> javax.persistence.criteria.Fetch<X,Y> |
fetch(javax.persistence.metamodel.PluralAttribute<? super X,?,Y> attr) |
<Y> javax.persistence.criteria.Fetch<X,Y> |
fetch(javax.persistence.metamodel.PluralAttribute<? super X,?,Y> attr,
javax.persistence.criteria.JoinType type) |
<Y> javax.persistence.criteria.Fetch<X,Y> |
fetch(javax.persistence.metamodel.SingularAttribute<? super X,Y> attr) |
<Y> javax.persistence.criteria.Fetch<X,Y> |
fetch(javax.persistence.metamodel.SingularAttribute<? super X,Y> attr,
javax.persistence.criteria.JoinType type) |
<X,Y> javax.persistence.criteria.Fetch<X,Y> |
fetch(String attrName) |
<X,Y> javax.persistence.criteria.Fetch<X,Y> |
fetch(String attrName,
javax.persistence.criteria.JoinType type) |
javax.persistence.metamodel.Attribute<? super Z,?> |
getAttribute() |
Set<javax.persistence.criteria.Fetch<X,?>> |
getFetches() |
javax.persistence.criteria.JoinType |
getJoinType() |
javax.persistence.criteria.FetchParent<?,Z> |
getParent() |
get, get, get, get, getModel, getParentPath, getQueryExpression, getType, toString, typealias, as, getAlias, getCompoundSelectionItems, getJavaType, in, in, in, in, isCompoundSelection, isNotNull, isNullclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitas, in, in, in, in, isNotNull, isNullpublic FetchImpl(CriteriaBuilderImpl cb, FromImpl<?,Z> parent, AttributeImpl<? super Z,X> attr, javax.persistence.criteria.JoinType joinType)
cb - Criteria Builderparent - Parent objectattr - The type joining tojoinType - Type of join (Inner/LeftOuter/RightOuter)public <Y> javax.persistence.criteria.Fetch<X,Y> fetch(javax.persistence.metamodel.PluralAttribute<? super X,?,Y> attr, javax.persistence.criteria.JoinType type)
public <Y> javax.persistence.criteria.Fetch<X,Y> fetch(javax.persistence.metamodel.PluralAttribute<? super X,?,Y> attr)
public <Y> javax.persistence.criteria.Fetch<X,Y> fetch(javax.persistence.metamodel.SingularAttribute<? super X,Y> attr, javax.persistence.criteria.JoinType type)
public <Y> javax.persistence.criteria.Fetch<X,Y> fetch(javax.persistence.metamodel.SingularAttribute<? super X,Y> attr)
public <X,Y> javax.persistence.criteria.Fetch<X,Y> fetch(String attrName, javax.persistence.criteria.JoinType type)
public <X,Y> javax.persistence.criteria.Fetch<X,Y> fetch(String attrName)
public javax.persistence.metamodel.Attribute<? super Z,?> getAttribute()
public javax.persistence.criteria.JoinType getJoinType()
Copyright © 2015. All rights reserved.