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) |
void |
poppedFromStack() |
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?
|
addFetch, buildCompositeFetch, getColumnNames, getFetches, getFetchOwnerDelegate, isNullable
sessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addFetch, buildCompositeFetch, getColumnNames, getFetches, getPropertyPath, isNullable
protected final EntityReference entityReference
protected final Map<Fetch,HydratedCompoundValueHandler> fetchToHydratedStateExtractorMap
public AbstractLoadPlanBuilderStrategy.AbstractIdentifierAttributeCollector(SessionFactoryImplementor sessionFactory, EntityReference entityReference)
public LockMode getLockMode()
EntityReference
getLockMode
in interface EntityReference
getLockMode
in interface ResultSetProcessingContext.EntityKeyResolutionContext
public EntityReference getEntityReference()
getEntityReference
in interface ResultSetProcessingContext.EntityKeyResolutionContext
public EntityPersister getEntityPersister()
EntityReference
getEntityPersister
in interface EntityReference
getEntityPersister
in interface ResultSetProcessingContext.EntityKeyResolutionContext
public IdentifierDescription getIdentifierDescription()
getIdentifierDescription
in interface EntityReference
public CollectionFetch buildCollectionFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy, LoadPlanBuildingContext loadPlanBuildingContext)
buildCollectionFetch
in interface FetchOwner
buildCollectionFetch
in class AbstractFetchOwner
public EntityFetch buildEntityFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy, LoadPlanBuildingContext loadPlanBuildingContext)
buildEntityFetch
in interface FetchOwner
buildEntityFetch
in class AbstractFetchOwner
public Type getType(Fetch fetch)
FetchOwner
getType
in interface FetchOwner
getType
in class AbstractFetchOwner
fetch
- - the owned fetch.public void poppedFromStack()
poppedFromStack
in interface AbstractLoadPlanBuilderStrategy.FetchStackAware
protected abstract IdentifierDescription buildIdentifierDescription()
public void validateFetchPlan(FetchStrategy fetchStrategy)
FetchOwner
validateFetchPlan
in interface FetchOwner
fetchStrategy
- The pla to validatepublic EntityPersister retrieveFetchSourcePersister()
FetchOwner
retrieveFetchSourcePersister
in interface FetchOwner
public void injectIdentifierDescription(IdentifierDescription identifierDescription)
injectIdentifierDescription
in interface IdentifierDescriptionInjectable
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.