protected abstract static class AbstractLoadPlanBuilderStrategy.AbstractIdentifierAttributeCollector extends AbstractFetchOwner implements FetchOwner, EntityReference, AbstractLoadPlanBuilderStrategy.FetchStackAware
| Modifier and Type | Field and Description |
|---|---|
protected EntityReference |
entityReference |
protected Map<Fetch,HydratedCompoundValueHandler> |
fetchToHydratedStateExtractorMap |
NO_FETCHES| Constructor and Description |
|---|
AbstractLoadPlanBuilderStrategy.AbstractIdentifierAttributeCollector(SessionFactoryImplementor sessionFactory,
EntityReference entityReference) |
| Modifier and Type | Method and Description |
|---|---|
CollectionFetch |
buildCollectionFetch(AssociationAttributeDefinition attributeDefinition,
FetchStrategy fetchStrategy,
LoadPlanBuildingContext loadPlanBuildingContext) |
EntityFetch |
buildEntityFetch(AssociationAttributeDefinition attributeDefinition,
FetchStrategy fetchStrategy,
LoadPlanBuildingContext loadPlanBuildingContext) |
protected abstract IdentifierDescription |
buildIdentifierDescription() |
EntityPersister |
getEntityPersister()
Retrieves the EntityPersister describing the entity associated with this Return.
|
EntityReference |
getEntityReference() |
IdentifierDescription |
getIdentifierDescription() |
LockMode |
getLockMode()
Retrieve the lock mode associated with this return.
|
Type |
getType(Fetch fetch)
Returns the type of the specified fetch.
|
void |
injectIdentifierDescription(IdentifierDescription identifierDescription) |
boolean |
isNullable(Fetch fetch)
Is the specified fetch nullable?
|
void |
poppedFromStack() |
EntityPersister |
retrieveFetchSourcePersister()
Retrieve the EntityPersister that is the base for any property references in the fetches it owns.
|
String[] |
toSqlSelectFragments(Fetch fetch,
String alias)
Generates the SQL select fragments for the specified fetch.
|
void |
validateFetchPlan(FetchStrategy fetchStrategy)
Is the asserted plan valid from this owner to a fetch?
|
addFetch, buildCompositeFetch, getFetches, getFetchOwnerDelegatesessionFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddFetch, buildCompositeFetch, getFetches, getPropertyPathprotected final EntityReference entityReference
protected final Map<Fetch,HydratedCompoundValueHandler> fetchToHydratedStateExtractorMap
public AbstractLoadPlanBuilderStrategy.AbstractIdentifierAttributeCollector(SessionFactoryImplementor sessionFactory, EntityReference entityReference)
public LockMode getLockMode()
EntityReferencegetLockMode in interface EntityReferencegetLockMode in interface ResultSetProcessingContext.EntityKeyResolutionContextpublic EntityReference getEntityReference()
getEntityReference in interface ResultSetProcessingContext.EntityKeyResolutionContextpublic EntityPersister getEntityPersister()
EntityReferencegetEntityPersister in interface EntityReferencegetEntityPersister in interface ResultSetProcessingContext.EntityKeyResolutionContextpublic IdentifierDescription getIdentifierDescription()
getIdentifierDescription in interface EntityReferencepublic CollectionFetch buildCollectionFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy, LoadPlanBuildingContext loadPlanBuildingContext)
buildCollectionFetch in interface FetchOwnerbuildCollectionFetch in class AbstractFetchOwnerpublic EntityFetch buildEntityFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy, LoadPlanBuildingContext loadPlanBuildingContext)
buildEntityFetch in interface FetchOwnerbuildEntityFetch in class AbstractFetchOwnerpublic Type getType(Fetch fetch)
FetchOwnergetType in interface FetchOwnergetType in class AbstractFetchOwnerfetch - - the owned fetch.public boolean isNullable(Fetch fetch)
FetchOwnerisNullable in interface FetchOwnerisNullable in class AbstractFetchOwnerfetch - - the owned fetch.public String[] toSqlSelectFragments(Fetch fetch, String alias)
FetchOwnertoSqlSelectFragments in interface FetchOwnertoSqlSelectFragments in class AbstractFetchOwnerfetch - - the owned fetch.alias - The table alias to apply to the fragments (used to qualify column references)public void poppedFromStack()
poppedFromStack in interface AbstractLoadPlanBuilderStrategy.FetchStackAwareprotected abstract IdentifierDescription buildIdentifierDescription()
public void validateFetchPlan(FetchStrategy fetchStrategy)
FetchOwnervalidateFetchPlan in interface FetchOwnerfetchStrategy - The pla to validatepublic EntityPersister retrieveFetchSourcePersister()
FetchOwnerretrieveFetchSourcePersister in interface FetchOwnerpublic void injectIdentifierDescription(IdentifierDescription identifierDescription)
injectIdentifierDescription in interface IdentifierDescriptionInjectableCopyright © 2013. All rights reserved.