类 AnyAttributeFetchImpl
- java.lang.Object
-
- org.hibernate.loader.plan.build.internal.returns.AbstractAnyReference
-
- org.hibernate.loader.plan.build.internal.returns.AnyAttributeFetchImpl
-
- 所有已实现的接口:
AnyAttributeFetch,AttributeFetch,Fetch,FetchSource
public class AnyAttributeFetchImpl extends AbstractAnyReference implements AnyAttributeFetch, AttributeFetch
- 作者:
- Steve Ebersole, Gail Badner
-
-
构造器概要
构造器 构造器 说明 AnyAttributeFetchImpl(FetchSource fetchSource, AssociationAttributeDefinition fetchedAttribute, FetchStrategy fetchStrategy)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetAdditionalJoinConditions()AttributeDefinitiongetFetchedAttributeDefinition()Returns theAttributeDefinitionfor attribute being fetched.AnyTypegetFetchedType()Get the Hibernate Type that describes the fetched attributeFetchStrategygetFetchStrategy()Gets the fetch strategy for this fetch.FetchSourcegetSource()Obtain the owner of this fetch.booleanisNullable()Is this fetch nullable?EntityReferenceresolveEntityReference()Resolve the "current"EntityReference, or null if none.String[]toSqlSelectFragments(String alias)Generates the SQL select fragments for this fetch.-
从类继承的方法 org.hibernate.loader.plan.build.internal.returns.AbstractAnyReference
getBidirectionalEntityReferences, getFetches, getPropertyPath, getQuerySpaceUid
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.loader.plan.spi.Fetch
getPropertyPath
-
从接口继承的方法 org.hibernate.loader.plan.spi.FetchSource
getBidirectionalEntityReferences, getFetches, getPropertyPath, getQuerySpaceUid
-
-
-
-
构造器详细资料
-
AnyAttributeFetchImpl
public AnyAttributeFetchImpl(FetchSource fetchSource, AssociationAttributeDefinition fetchedAttribute, FetchStrategy fetchStrategy)
-
-
方法详细资料
-
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 AnyType getFetchedType()
从接口复制的说明:FetchGet the Hibernate Type that describes the fetched attribute- 指定者:
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.
-
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
-
getAdditionalJoinConditions
public String getAdditionalJoinConditions()
- 指定者:
getAdditionalJoinConditions在接口中Fetch
-
resolveEntityReference
public EntityReference resolveEntityReference()
从接口复制的说明:FetchSourceResolve the "current"EntityReference, or null if none. If this object is anEntityReference, then this object is returned; otherwise, if this object is aFetch, then the nearestEntityReferencewill be resolved from its source, if possible. If no EntityReference can be resolved, null is return.- 指定者:
resolveEntityReference在接口中FetchSource- 返回:
- the "current" EntityReference or null if none. .
-
getFetchedAttributeDefinition
public AttributeDefinition getFetchedAttributeDefinition()
从接口复制的说明:AttributeFetchReturns theAttributeDefinitionfor attribute being fetched.- 指定者:
getFetchedAttributeDefinition在接口中AttributeFetch- 返回:
- The fetched attribute definition.
-
-