public abstract class AbstractSingularAttributeFetch extends AbstractFetchOwner implements Fetch
FetchOwner and a Fetch.NO_FETCHES| Constructor and Description |
|---|
AbstractSingularAttributeFetch(AbstractSingularAttributeFetch original,
CopyContext copyContext,
FetchOwner fetchOwnerCopy) |
AbstractSingularAttributeFetch(SessionFactoryImplementor factory,
FetchOwner owner,
AttributeDefinition fetchedAttribute,
FetchStrategy fetchStrategy)
Constructs an
AbstractSingularAttributeFetch object. |
| Modifier and Type | Method and Description |
|---|---|
String |
getAdditionalJoinConditions() |
AttributeDefinition |
getFetchedAttribute() |
Type |
getFetchedType() |
FetchStrategy |
getFetchStrategy()
Gets the fetch strategy for this fetch.
|
FetchOwner |
getOwner()
Obtain the owner of this fetch.
|
PropertyPath |
getPropertyPath()
Get the property path to this fetch
|
boolean |
isNullable()
Is this fetch nullable?
|
String[] |
toSqlSelectFragments(String alias)
Generates the SQL select fragments for this fetch.
|
String |
toString() |
void |
validateFetchPlan(FetchStrategy fetchStrategy,
AttributeDefinition attributeDefinition)
Is the asserted plan valid from this owner to a fetch?
|
addFetch, buildAnyFetch, buildCollectionFetch, buildCompositeFetch, buildEntityFetch, getFetches, getType, isNullable, toSqlSelectFragmentssessionFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitretrieveFetchSourcePersister, toSqlSelectFragmentResolverpublic AbstractSingularAttributeFetch(SessionFactoryImplementor factory, FetchOwner owner, AttributeDefinition fetchedAttribute, FetchStrategy fetchStrategy)
AbstractSingularAttributeFetch object.factory - - the session factory.owner - - the fetch owner for this fetch.fetchedAttribute - - the attribute being fetchedfetchStrategy - - the fetch strategy for this fetch.public AbstractSingularAttributeFetch(AbstractSingularAttributeFetch original, CopyContext copyContext, FetchOwner fetchOwnerCopy)
public FetchOwner getOwner()
Fetchpublic AttributeDefinition getFetchedAttribute()
public Type getFetchedType()
getFetchedType in interface Fetchpublic boolean isNullable()
FetchisNullable in interface Fetchpublic String[] toSqlSelectFragments(String alias)
FetchtoSqlSelectFragments in interface Fetchpublic FetchStrategy getFetchStrategy()
FetchgetFetchStrategy in interface Fetchpublic String getAdditionalJoinConditions()
getAdditionalJoinConditions in interface Fetchpublic void validateFetchPlan(FetchStrategy fetchStrategy, AttributeDefinition attributeDefinition)
FetchOwnervalidateFetchPlan in interface FetchOwnerfetchStrategy - The type of fetch to validateattributeDefinition - The attribute to be fetchedpublic PropertyPath getPropertyPath()
FetchgetPropertyPath in interface FetchgetPropertyPath in interface FetchOwnerCopyright © 2001-2013 Red Hat, Inc. All Rights Reserved.