类 EntityAttributeFetchImpl
- java.lang.Object
-
- org.hibernate.loader.plan.build.internal.returns.AbstractExpandingFetchSource
-
- org.hibernate.loader.plan.build.internal.returns.AbstractEntityReference
-
- org.hibernate.loader.plan.build.internal.returns.EntityAttributeFetchImpl
-
- 所有已实现的接口:
ExpandingFetchSource,AttributeFetch,EntityFetch,EntityReference,Fetch,FetchSource
public class EntityAttributeFetchImpl extends AbstractEntityReference implements EntityFetch
- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 EntityAttributeFetchImpl(ExpandingFetchSource fetchSource, AssociationAttributeDefinition fetchedAttribute, FetchStrategy fetchStrategy, ExpandingEntityQuerySpace entityQuerySpace)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetAdditionalJoinConditions()AttributeDefinitiongetFetchedAttributeDefinition()Returns theAttributeDefinitionfor attribute being fetched.EntityTypegetFetchedType()Get the Hibernate Type that describes the fetched attribute as anEntityType.FetchStrategygetFetchStrategy()Gets the fetch strategy for this fetch.FetchSourcegetSource()Obtain the owner of this fetch.booleanisNullable()Is this fetch nullable?String[]toSqlSelectFragments(String alias)Generates the SQL select fragments for this fetch.voidvalidateFetchPlan(FetchStrategy fetchStrategy, AttributeDefinition attributeDefinition)Is the asserted plan valid from this owner to a fetch?-
从类继承的方法 org.hibernate.loader.plan.build.internal.returns.AbstractEntityReference
createCompositeAttributeFetch, getEntityPersister, getIdentifierDescription, resolveEntityReference
-
从类继承的方法 org.hibernate.loader.plan.build.internal.returns.AbstractExpandingFetchSource
buildAnyAttributeFetch, buildBidirectionalEntityReference, buildCollectionAttributeFetch, 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.EntityReference
getEntityPersister, getIdentifierDescription, getQuerySpaceUid
-
从接口继承的方法 org.hibernate.loader.plan.spi.Fetch
getPropertyPath
-
从接口继承的方法 org.hibernate.loader.plan.spi.FetchSource
getBidirectionalEntityReferences, getFetches, getPropertyPath, resolveEntityReference
-
-
-
-
构造器详细资料
-
EntityAttributeFetchImpl
public EntityAttributeFetchImpl(ExpandingFetchSource fetchSource, AssociationAttributeDefinition fetchedAttribute, FetchStrategy fetchStrategy, ExpandingEntityQuerySpace entityQuerySpace)
-
-
方法详细资料
-
getSource
public FetchSource getSource()
从接口复制的说明:FetchObtain the owner of this fetch.
-
getFetchStrategy
public FetchStrategy getFetchStrategy()
从接口复制的说明:FetchGets the fetch strategy for this fetch.- 指定者:
getFetchStrategy在接口中Fetch- 返回:
- the fetch strategy for this fetch.
-
getFetchedType
public EntityType getFetchedType()
从接口复制的说明:EntityFetchGet the Hibernate Type that describes the fetched attribute as anEntityType.- 指定者:
getFetchedType在接口中EntityFetch- 指定者:
getFetchedType在接口中Fetch- 返回:
- The Type of the fetched attribute
-
isNullable
public boolean isNullable()
从接口复制的说明:FetchIs this fetch nullable?- 指定者:
isNullable在接口中Fetch- 返回:
- true, if this fetch is nullable; false, otherwise.
-
getAdditionalJoinConditions
public String getAdditionalJoinConditions()
- 指定者:
getAdditionalJoinConditions在接口中Fetch
-
toSqlSelectFragments
public String[] toSqlSelectFragments(String alias)
从接口复制的说明:FetchGenerates the SQL select fragments for this fetch. A select fragment is the column and formula references.- 指定者:
toSqlSelectFragments在接口中Fetch- 返回:
- the select fragments
-
validateFetchPlan
public void validateFetchPlan(FetchStrategy fetchStrategy, AttributeDefinition attributeDefinition)
从接口复制的说明:ExpandingFetchSourceIs the asserted plan valid from this owner to a fetch?- 指定者:
validateFetchPlan在接口中ExpandingFetchSource- 参数:
fetchStrategy- The type of fetch to validate.attributeDefinition- The attribute to be fetched.
-
getFetchedAttributeDefinition
public AttributeDefinition getFetchedAttributeDefinition()
从接口复制的说明:AttributeFetchReturns theAttributeDefinitionfor attribute being fetched.- 指定者:
getFetchedAttributeDefinition在接口中AttributeFetch- 返回:
- The fetched attribute definition.
-
-