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, waitbuildLoadPlanprotected AbstractLoadPlanBuilderStrategy(SessionFactoryImplementor sessionFactory)
public SessionFactoryImplementor sessionFactory()
protected FetchOwner currentFetchOwner()
public void start()
AssociationVisitationStrategystart in interface AssociationVisitationStrategypublic void finish()
AssociationVisitationStrategyfinish in interface AssociationVisitationStrategypublic void startingEntity(EntityDefinition entityDefinition)
startingEntity in interface AssociationVisitationStrategyprotected boolean supportsRootEntityReturns()
protected abstract void addRootReturn(Return rootReturn)
public void finishingEntity(EntityDefinition entityDefinition)
finishingEntity in interface AssociationVisitationStrategypublic void startingEntityIdentifier(EntityIdentifierDefinition entityIdentifierDefinition)
startingEntityIdentifier in interface AssociationVisitationStrategypublic void finishingEntityIdentifier(EntityIdentifierDefinition entityIdentifierDefinition)
finishingEntityIdentifier in interface AssociationVisitationStrategypublic void startingCollection(CollectionDefinition collectionDefinition)
startingCollection in interface AssociationVisitationStrategyprotected boolean supportsRootCollectionReturns()
public void startingCollectionIndex(CollectionIndexDefinition collectionIndexDefinition)
startingCollectionIndex in interface AssociationVisitationStrategypublic void finishingCollectionIndex(CollectionIndexDefinition collectionIndexDefinition)
finishingCollectionIndex in interface AssociationVisitationStrategypublic void startingCollectionElements(CollectionElementDefinition elementDefinition)
startingCollectionElements in interface AssociationVisitationStrategypublic void finishingCollectionElements(CollectionElementDefinition elementDefinition)
finishingCollectionElements in interface AssociationVisitationStrategypublic void startingCompositeCollectionElement(CompositeCollectionElementDefinition compositeElementDefinition)
startingCompositeCollectionElement in interface AssociationVisitationStrategypublic void finishingCompositeCollectionElement(CompositeCollectionElementDefinition compositeElementDefinition)
finishingCompositeCollectionElement in interface AssociationVisitationStrategypublic void finishingCollection(CollectionDefinition collectionDefinition)
finishingCollection in interface AssociationVisitationStrategypublic void startingComposite(CompositionDefinition compositionDefinition)
startingComposite in interface AssociationVisitationStrategypublic void finishingComposite(CompositionDefinition compositionDefinition)
finishingComposite in interface AssociationVisitationStrategypublic boolean startingAttribute(AttributeDefinition attributeDefinition)
startingAttribute in interface AssociationVisitationStrategypublic void finishingAttribute(AttributeDefinition attributeDefinition)
finishingAttribute in interface AssociationVisitationStrategyprotected 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 LoadPlanBuildingContextCopyright © 2001-2013 Red Hat, Inc. All Rights Reserved.