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.
|
AnyFetch |
buildAnyFetch(AttributeDefinition attribute,
AnyMappingDefinition anyDefinition,
FetchStrategy fetchStrategy,
LoadPlanBuildingContext loadPlanBuildingContext) |
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.
|
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.
|
sessionFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPropertyPath, retrieveFetchSourcePersister, toSqlSelectFragmentResolver, 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 FetchOwnerpublic 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[] toSqlSelectFragments(Fetch fetch, String alias)
FetchOwnertoSqlSelectFragments in interface FetchOwnerfetch - - the owned fetch.alias - The table alias to apply to the fragments (used to qualify column references)public AnyFetch buildAnyFetch(AttributeDefinition attribute, AnyMappingDefinition anyDefinition, FetchStrategy fetchStrategy, LoadPlanBuildingContext loadPlanBuildingContext)
buildAnyFetch in interface FetchOwnerpublic 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.