public abstract class AbstractFetchOwner extends AbstractPlanNode implements FetchOwner
NO_FETCHES
Modifier | Constructor and Description |
---|---|
protected |
AbstractFetchOwner(AbstractFetchOwner original,
CopyContext copyContext)
A "copy" constructor.
|
|
AbstractFetchOwner(SessionFactoryImplementor factory) |
Modifier and Type | Method and Description |
---|---|
void |
addFetch(Fetch fetch)
Contract to add fetches to this owner.
|
CollectionFetch |
buildCollectionFetch(AssociationAttributeDefinition attributeDefinition,
FetchStrategy fetchStrategy,
LoadPlanBuildingContext loadPlanBuildingContext) |
CompositeFetch |
buildCompositeFetch(CompositionDefinition attributeDefinition,
LoadPlanBuildingContext loadPlanBuildingContext) |
EntityFetch |
buildEntityFetch(AssociationAttributeDefinition attributeDefinition,
FetchStrategy fetchStrategy,
LoadPlanBuildingContext loadPlanBuildingContext) |
Fetch[] |
getFetches()
Retrieve the fetches owned by this return.
|
protected abstract FetchOwnerDelegate |
getFetchOwnerDelegate()
Abstract method returning the delegate for obtaining details about an owned fetch.
|
Type |
getType(Fetch fetch)
Returns the type of the specified fetch.
|
boolean |
isNullable(Fetch fetch)
Is the specified fetch nullable?
|
String[] |
toSqlSelectFragments(Fetch fetch,
String alias)
Generates the SQL select fragments for the specified fetch.
|
sessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPropertyPath, retrieveFetchSourcePersister, validateFetchPlan
public AbstractFetchOwner(SessionFactoryImplementor factory)
protected AbstractFetchOwner(AbstractFetchOwner original, CopyContext copyContext)
original
- - the original object to copy.copyContext
- - the copy context.public void addFetch(Fetch fetch)
FetchOwner
addFetch
in interface FetchOwner
fetch
- The fetch to addpublic Fetch[] getFetches()
FetchOwner
getFetches
in interface FetchOwner
protected abstract FetchOwnerDelegate getFetchOwnerDelegate()
public boolean isNullable(Fetch fetch)
FetchOwner
isNullable
in interface FetchOwner
fetch
- - the owned fetch.public Type getType(Fetch fetch)
FetchOwner
getType
in interface FetchOwner
fetch
- - the owned fetch.public String[] toSqlSelectFragments(Fetch fetch, String alias)
FetchOwner
toSqlSelectFragments
in interface FetchOwner
fetch
- - the owned fetch.alias
- The table alias to apply to the fragments (used to qualify column references)public CollectionFetch buildCollectionFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy, LoadPlanBuildingContext loadPlanBuildingContext)
buildCollectionFetch
in interface FetchOwner
public EntityFetch buildEntityFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy, LoadPlanBuildingContext loadPlanBuildingContext)
buildEntityFetch
in interface FetchOwner
public CompositeFetch buildCompositeFetch(CompositionDefinition attributeDefinition, LoadPlanBuildingContext loadPlanBuildingContext)
buildCompositeFetch
in interface FetchOwner
Copyright © 2013. All rights reserved.