public interface FetchOwner
Modifier and Type | Field and Description |
---|---|
static Fetch[] |
NO_FETCHES
Convenient constant for returning no fetches from
getFetches() |
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.
|
PropertyPath |
getPropertyPath()
Get the property path to this fetch owner
|
Type |
getType(Fetch fetch)
Returns the type of the specified fetch.
|
boolean |
isNullable(Fetch fetch)
Is the specified fetch nullable?
|
EntityPersister |
retrieveFetchSourcePersister()
Retrieve the EntityPersister that is the base for any property references in the fetches it owns.
|
void |
validateFetchPlan(FetchStrategy fetchStrategy)
Is the asserted plan valid from this owner to a fetch?
|
static final Fetch[] NO_FETCHES
getFetches()
void addFetch(Fetch fetch)
fetch
- The fetch to addFetch[] getFetches()
Type getType(Fetch fetch)
fetch
- - the owned fetch.boolean isNullable(Fetch fetch)
fetch
- - the owned fetch.String[] getColumnNames(Fetch fetch)
fetch
- - the owned fetch.void validateFetchPlan(FetchStrategy fetchStrategy)
fetchStrategy
- The pla to validateEntityPersister retrieveFetchSourcePersister()
PropertyPath getPropertyPath()
CollectionFetch buildCollectionFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy, LoadPlanBuildingContext loadPlanBuildingContext)
EntityFetch buildEntityFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy, LoadPlanBuildingContext loadPlanBuildingContext)
CompositeFetch buildCompositeFetch(CompositionDefinition attributeDefinition, LoadPlanBuildingContext loadPlanBuildingContext)
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.