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?
|
sessionFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPropertyPath, retrieveFetchSourcePersister, validateFetchPlanpublic AbstractFetchOwner(SessionFactoryImplementor factory)
protected AbstractFetchOwner(AbstractFetchOwner original, CopyContext copyContext)
original - - the original object to copy.copyContext - - the copy context.public void addFetch(Fetch fetch)
FetchOwneraddFetch in interface FetchOwnerfetch - The fetch to addpublic Fetch[] getFetches()
FetchOwnergetFetches in interface FetchOwnerprotected abstract FetchOwnerDelegate getFetchOwnerDelegate()
public boolean isNullable(Fetch fetch)
FetchOwnerisNullable in interface FetchOwnerfetch - - the owned fetch.public Type getType(Fetch fetch)
FetchOwnergetType in interface FetchOwnerfetch - - the owned fetch.public String[] getColumnNames(Fetch fetch)
FetchOwnergetColumnNames in interface FetchOwnerfetch - - the owned fetch.public CollectionFetch buildCollectionFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy, LoadPlanBuildingContext loadPlanBuildingContext)
buildCollectionFetch in interface FetchOwnerpublic EntityFetch buildEntityFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy, LoadPlanBuildingContext loadPlanBuildingContext)
buildEntityFetch in interface FetchOwnerpublic CompositeFetch buildCompositeFetch(CompositionDefinition attributeDefinition, LoadPlanBuildingContext loadPlanBuildingContext)
buildCompositeFetch in interface FetchOwnerCopyright © 2001-2013 Red Hat, Inc. All Rights Reserved.