接口 Fetch
-
- 所有已知子接口:
AnyAttributeFetch,AttributeFetch,CollectionAttributeFetch,CompositeAttributeFetch,CompositeFetch,EntityFetch
- 所有已知实现类:
AbstractCompositeEntityIdentifierDescription,AbstractCompositeFetch,AnyAttributeFetchImpl,CollectionAttributeFetchImpl,CompositeAttributeFetchImpl,EncapsulatedEntityIdentifierDescription,EntityAttributeFetchImpl,NestedCompositeAttributeFetchImpl,NonEncapsulatedEntityIdentifierDescription
public interface FetchContract for associations that are being fetched. NOTE : can represent components/embeddables- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 StringgetAdditionalJoinConditions()TypegetFetchedType()Get the Hibernate Type that describes the fetched attributeFetchStrategygetFetchStrategy()Gets the fetch strategy for this fetch.PropertyPathgetPropertyPath()Get the property path to this fetchFetchSourcegetSource()Obtain the owner of this fetch.booleanisNullable()Is this fetch nullable?String[]toSqlSelectFragments(String alias)Generates the SQL select fragments for this fetch.
-
-
-
方法详细资料
-
getSource
FetchSource getSource()
Obtain the owner of this fetch.- 返回:
- The fetch owner.
-
getPropertyPath
PropertyPath getPropertyPath()
Get the property path to this fetch- 返回:
- The property path
-
getFetchStrategy
FetchStrategy getFetchStrategy()
Gets the fetch strategy for this fetch.- 返回:
- the fetch strategy for this fetch.
-
getFetchedType
Type getFetchedType()
Get the Hibernate Type that describes the fetched attribute- 返回:
- The Type of the fetched attribute
-
isNullable
boolean isNullable()
Is this fetch nullable?- 返回:
- true, if this fetch is nullable; false, otherwise.
-
getAdditionalJoinConditions
String getAdditionalJoinConditions()
-
-