类 AbstractExpandingFetchSource
- java.lang.Object
-
- org.hibernate.loader.plan.build.internal.returns.AbstractExpandingFetchSource
-
- 所有已实现的接口:
ExpandingFetchSource,FetchSource
public abstract class AbstractExpandingFetchSource extends Object implements ExpandingFetchSource
- 作者:
- Gail Badner
-
-
构造器概要
构造器 构造器 说明 AbstractExpandingFetchSource(ExpandingQuerySpace querySpace, PropertyPath propertyPath)
-
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 AnyAttributeFetchbuildAnyAttributeFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy)Builds a fetch for an "any" attribute.BidirectionalEntityReferencebuildBidirectionalEntityReference(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy, EntityReference targetEntityReference)Builds a bidirectional entity reference for an entity attribute.CollectionAttributeFetchbuildCollectionAttributeFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy)Builds a fetch for a collection attribute.CompositeAttributeFetchbuildCompositeAttributeFetch(AttributeDefinition attributeDefinition)Builds a fetch for a composite attribute.EntityFetchbuildEntityAttributeFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy)Builds a fetch for an entity attribute.protected abstract CompositeAttributeFetchcreateCompositeAttributeFetch(AttributeDefinition compositeType, ExpandingCompositeQuerySpace compositeQuerySpace)protected ExpandingQuerySpaceexpandingQuerySpace()BidirectionalEntityReference[]getBidirectionalEntityReferences()Retrieve the bidirectional entity references owned by this fetch source.Fetch[]getFetches()Retrieve the fetches owned by this fetch source.PropertyPathgetPropertyPath()Get the property path to this fetch sourceprotected ExpandingQuerySpacesgetQuerySpaces()StringgetQuerySpaceUid()Get the UID for this fetch source's query space.-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.loader.plan.build.spi.ExpandingFetchSource
validateFetchPlan
-
从接口继承的方法 org.hibernate.loader.plan.spi.FetchSource
resolveEntityReference
-
-
-
-
构造器详细资料
-
AbstractExpandingFetchSource
public AbstractExpandingFetchSource(ExpandingQuerySpace querySpace, PropertyPath propertyPath)
-
-
方法详细资料
-
getQuerySpaceUid
public final String getQuerySpaceUid()
从接口复制的说明:FetchSourceGet the UID for this fetch source's query space.- 指定者:
getQuerySpaceUid在接口中FetchSource- 返回:
- The query space UID.
-
expandingQuerySpace
protected final ExpandingQuerySpace expandingQuerySpace()
-
getPropertyPath
public final PropertyPath getPropertyPath()
从接口复制的说明:FetchSourceGet the property path to this fetch source- 指定者:
getPropertyPath在接口中FetchSource- 返回:
- The property path
-
getFetches
public Fetch[] getFetches()
从接口复制的说明:FetchSourceRetrieve the fetches owned by this fetch source.- 指定者:
getFetches在接口中FetchSource- 返回:
- The owned fetches.
-
getBidirectionalEntityReferences
public BidirectionalEntityReference[] getBidirectionalEntityReferences()
从接口复制的说明:FetchSourceRetrieve the bidirectional entity references owned by this fetch source.- 指定者:
getBidirectionalEntityReferences在接口中FetchSource- 返回:
- The owned bidirectional entity references.
-
buildEntityAttributeFetch
public EntityFetch buildEntityAttributeFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy)
从接口复制的说明:ExpandingFetchSourceBuilds a fetch for an entity attribute.- 指定者:
buildEntityAttributeFetch在接口中ExpandingFetchSource- 参数:
attributeDefinition- The entity attribute.fetchStrategy- The fetch strategy for the attribute.- 返回:
- The entity fetch.
-
buildBidirectionalEntityReference
public BidirectionalEntityReference buildBidirectionalEntityReference(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy, EntityReference targetEntityReference)
从接口复制的说明:ExpandingFetchSourceBuilds a bidirectional entity reference for an entity attribute.- 指定者:
buildBidirectionalEntityReference在接口中ExpandingFetchSource- 参数:
attributeDefinition- The attribute definition.fetchStrategy- The fetch strategy for the attribute.targetEntityReference- The associated (target) entity reference.- 返回:
- The bidirectional entity reference.
-
createCompositeAttributeFetch
protected abstract CompositeAttributeFetch createCompositeAttributeFetch(AttributeDefinition compositeType, ExpandingCompositeQuerySpace compositeQuerySpace)
-
getQuerySpaces
protected ExpandingQuerySpaces getQuerySpaces()
-
buildCompositeAttributeFetch
public CompositeAttributeFetch buildCompositeAttributeFetch(AttributeDefinition attributeDefinition)
从接口复制的说明:ExpandingFetchSourceBuilds a fetch for a composite attribute.- 指定者:
buildCompositeAttributeFetch在接口中ExpandingFetchSource- 参数:
attributeDefinition- The attribute definition.- 返回:
- The composite attribute fetch.
-
buildCollectionAttributeFetch
public CollectionAttributeFetch buildCollectionAttributeFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy)
从接口复制的说明:ExpandingFetchSourceBuilds a fetch for a collection attribute.- 指定者:
buildCollectionAttributeFetch在接口中ExpandingFetchSource- 参数:
attributeDefinition- The attribute definition.fetchStrategy- The fetch strategy for the attribute.- 返回:
- The collection attribute fetch.
-
buildAnyAttributeFetch
public AnyAttributeFetch buildAnyAttributeFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy)
从接口复制的说明:ExpandingFetchSourceBuilds a fetch for an "any" attribute.- 指定者:
buildAnyAttributeFetch在接口中ExpandingFetchSource- 参数:
attributeDefinition- The attribute definition.fetchStrategy- The fetch strategy for the attibute.- 返回:
- The "any" attribute fetch.
-
-