Top Description Methods
org.hibernate.loader.plan.spi

public Interface Fetch

Known Direct Subinterfaces
org.hibernate.loader.plan.spi.AnyAttributeFetch, org.hibernate.loader.plan.spi.AttributeFetch, org.hibernate.loader.plan.spi.CompositeFetch
Imports
org.hibernate.engine.FetchStrategy, org.hibernate.loader.PropertyPath, org.hibernate.type.Type

Contract for associations that are being fetched.

NOTE : can represent components/embeddables

Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public String
public Type

Returns:

The Type of the fetched attribute
getFetchedType
()

Get the Hibernate Type that describes the fetched attribute

public FetchStrategy

Returns:

the fetch strategy for this fetch.
getFetchStrategy
()

Gets the fetch strategy for this fetch.

public PropertyPath

Returns:

The property path
getPropertyPath
()

Get the property path to this fetch

public FetchSource

Returns:

The fetch owner.
getSource
()

Obtain the owner of this fetch.

public boolean

Returns:

true, if this fetch is nullable; false, otherwise.
isNullable
()

Is this fetch nullable?

public String[]

Returns:

the select fragments
toSqlSelectFragments
(String alias)

Generates the SQL select fragments for this fetch.

Method Detail

getAdditionalJoinConditionsback to summary
public String getAdditionalJoinConditions()
getFetchedTypeback to summary
public Type getFetchedType()

Get the Hibernate Type that describes the fetched attribute

Returns:Type

The Type of the fetched attribute

getFetchStrategyback to summary
public FetchStrategy getFetchStrategy()

Gets the fetch strategy for this fetch.

Returns:FetchStrategy

the fetch strategy for this fetch.

getPropertyPathback to summary
public PropertyPath getPropertyPath()

Get the property path to this fetch

Returns:PropertyPath

The property path

getSourceback to summary
public FetchSource getSource()

Obtain the owner of this fetch.

Returns:FetchSource

The fetch owner.

isNullableback to summary
public boolean isNullable()

Is this fetch nullable?

Returns:boolean

true, if this fetch is nullable; false, otherwise.

toSqlSelectFragmentsback to summary
public String[] toSqlSelectFragments(String alias)

Generates the SQL select fragments for this fetch. A select fragment is the column and formula references.

Returns:String[]

the select fragments