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) |
String[] |
getColumnNames(Fetch fetch)
Returns the column names used for loading the specified fetch.
|
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?
|
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[] getColumnNames(Fetch fetch)
FetchOwner
getColumnNames
in interface FetchOwner
fetch
- - the owned fetch.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 © 2001-2013 Red Hat, Inc. All Rights Reserved.