public abstract class AbstractLoadPlanBuilderStrategy extends Object implements LoadPlanBuilderStrategy, LoadPlanBuildingContext
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractLoadPlanBuilderStrategy.AbstractIdentifierAttributeCollector |
protected static class |
AbstractLoadPlanBuilderStrategy.EncapsulatedIdentifierAttributeCollector |
static interface |
AbstractLoadPlanBuilderStrategy.FetchStackAware |
static class |
AbstractLoadPlanBuilderStrategy.MDCStack |
protected static class |
AbstractLoadPlanBuilderStrategy.NonEncapsulatedIdentifierAttributeCollector |
Modifier | Constructor and Description |
---|---|
protected |
AbstractLoadPlanBuilderStrategy(SessionFactoryImplementor sessionFactory) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
buildLoadPlan
protected AbstractLoadPlanBuilderStrategy(SessionFactoryImplementor sessionFactory)
public SessionFactoryImplementor sessionFactory()
protected FetchOwner currentFetchOwner()
public void start()
AssociationVisitationStrategy
start
in interface AssociationVisitationStrategy
public void finish()
AssociationVisitationStrategy
finish
in interface AssociationVisitationStrategy
public void startingEntity(EntityDefinition entityDefinition)
startingEntity
in interface AssociationVisitationStrategy
protected boolean supportsRootEntityReturns()
protected abstract void addRootReturn(Return rootReturn)
public void finishingEntity(EntityDefinition entityDefinition)
finishingEntity
in interface AssociationVisitationStrategy
public void startingEntityIdentifier(EntityIdentifierDefinition entityIdentifierDefinition)
startingEntityIdentifier
in interface AssociationVisitationStrategy
public void finishingEntityIdentifier(EntityIdentifierDefinition entityIdentifierDefinition)
finishingEntityIdentifier
in interface AssociationVisitationStrategy
public void startingCollection(CollectionDefinition collectionDefinition)
startingCollection
in interface AssociationVisitationStrategy
protected boolean supportsRootCollectionReturns()
public void startingCollectionIndex(CollectionIndexDefinition collectionIndexDefinition)
startingCollectionIndex
in interface AssociationVisitationStrategy
public void finishingCollectionIndex(CollectionIndexDefinition collectionIndexDefinition)
finishingCollectionIndex
in interface AssociationVisitationStrategy
public void startingCollectionElements(CollectionElementDefinition elementDefinition)
startingCollectionElements
in interface AssociationVisitationStrategy
public void finishingCollectionElements(CollectionElementDefinition elementDefinition)
finishingCollectionElements
in interface AssociationVisitationStrategy
public void startingCompositeCollectionElement(CompositeCollectionElementDefinition compositeElementDefinition)
startingCompositeCollectionElement
in interface AssociationVisitationStrategy
public void finishingCompositeCollectionElement(CompositeCollectionElementDefinition compositeElementDefinition)
finishingCompositeCollectionElement
in interface AssociationVisitationStrategy
public void finishingCollection(CollectionDefinition collectionDefinition)
finishingCollection
in interface AssociationVisitationStrategy
public void startingComposite(CompositionDefinition compositionDefinition)
startingComposite
in interface AssociationVisitationStrategy
public void finishingComposite(CompositionDefinition compositionDefinition)
finishingComposite
in interface AssociationVisitationStrategy
public boolean startingAttribute(AttributeDefinition attributeDefinition)
startingAttribute
in interface AssociationVisitationStrategy
public void finishingAttribute(AttributeDefinition attributeDefinition)
finishingAttribute
in interface AssociationVisitationStrategy
protected boolean handleCompositeAttribute(CompositionDefinition attributeDefinition)
protected boolean handleAssociationAttribute(AssociationAttributeDefinition attributeDefinition)
protected abstract FetchStrategy determineFetchPlan(AssociationAttributeDefinition attributeDefinition)
protected int currentDepth()
protected boolean isTooManyCollections()
protected abstract EntityReturn buildRootEntityReturn(EntityDefinition entityDefinition)
protected abstract CollectionReturn buildRootCollectionReturn(CollectionDefinition collectionDefinition)
public SessionFactoryImplementor getSessionFactory()
getSessionFactory
in interface LoadPlanBuildingContext
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.