类 AbstractCompositeReference
- java.lang.Object
-
- org.hibernate.loader.plan.build.internal.returns.AbstractExpandingFetchSource
-
- org.hibernate.loader.plan.build.internal.returns.AbstractCompositeReference
-
- 所有已实现的接口:
ExpandingFetchSource,FetchSource
- 直接已知子类:
AbstractCompositeFetch,CollectionFetchableElementCompositeGraph,CollectionFetchableIndexCompositeGraph
public abstract class AbstractCompositeReference extends AbstractExpandingFetchSource
- 作者:
- Steve Ebersole, Gail Badner
-
-
构造器概要
构造器 限定符 构造器 说明 protectedAbstractCompositeReference(ExpandingCompositeQuerySpace compositeQuerySpace, boolean allowCollectionFetches, PropertyPath propertyPath)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 CollectionAttributeFetchbuildCollectionAttributeFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy)Builds a fetch for a collection attribute.protected CompositeAttributeFetchcreateCompositeAttributeFetch(AttributeDefinition attributeDefinition, ExpandingCompositeQuerySpace compositeQuerySpace)voidvalidateFetchPlan(FetchStrategy fetchStrategy, AttributeDefinition attributeDefinition)Is the asserted plan valid from this owner to a fetch?-
从类继承的方法 org.hibernate.loader.plan.build.internal.returns.AbstractExpandingFetchSource
buildAnyAttributeFetch, buildBidirectionalEntityReference, buildCompositeAttributeFetch, buildEntityAttributeFetch, expandingQuerySpace, getBidirectionalEntityReferences, getFetches, getPropertyPath, getQuerySpaces, getQuerySpaceUid
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.loader.plan.spi.FetchSource
resolveEntityReference
-
-
-
-
构造器详细资料
-
AbstractCompositeReference
protected AbstractCompositeReference(ExpandingCompositeQuerySpace compositeQuerySpace, boolean allowCollectionFetches, PropertyPath propertyPath)
-
-
方法详细资料
-
validateFetchPlan
public void validateFetchPlan(FetchStrategy fetchStrategy, AttributeDefinition attributeDefinition)
从接口复制的说明:ExpandingFetchSourceIs the asserted plan valid from this owner to a fetch?- 参数:
fetchStrategy- The type of fetch to validate.attributeDefinition- The attribute to be fetched.
-
createCompositeAttributeFetch
protected CompositeAttributeFetch createCompositeAttributeFetch(AttributeDefinition attributeDefinition, ExpandingCompositeQuerySpace compositeQuerySpace)
-
buildCollectionAttributeFetch
public CollectionAttributeFetch buildCollectionAttributeFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy)
从接口复制的说明:ExpandingFetchSourceBuilds a fetch for a collection attribute.- 指定者:
buildCollectionAttributeFetch在接口中ExpandingFetchSource- 覆盖:
buildCollectionAttributeFetch在类中AbstractExpandingFetchSource- 参数:
attributeDefinition- The attribute definition.fetchStrategy- The fetch strategy for the attribute.- 返回:
- The collection attribute fetch.
-
-