Package | Description |
---|---|
org.hibernate.loader.plan.build.internal |
Contains the internal implementations used for building a metamodel-driven LoadPlan.
|
org.hibernate.loader.plan.build.internal.returns |
Contains the internal implementations of the building blocks that make up a metamodel-driven LoadPlan.
|
org.hibernate.loader.plan.build.internal.spaces |
Contains the internal implementations of query spaces in a metamodel-driven LoadPlan.
|
org.hibernate.loader.plan.build.spi |
Defines the SPI for building a metamodel-driven LoadPlan
|
org.hibernate.loader.plan.spi |
Defines the SPI for the building blocks that make up a LoadPlan.
|
org.hibernate.persister.walking.internal | |
org.hibernate.persister.walking.spi | |
org.hibernate.tuple.component | |
org.hibernate.tuple.entity |
Modifier and Type | Field and Description |
---|---|
protected static FetchStrategy |
AbstractEntityGraphVisitationStrategy.DEFAULT_EAGER
The JPA 2.1 SPEC's Entity Graph only defines _WHEN_ to load an attribute, it doesn't define _HOW_ to load it
So I'm here just making an assumption that when it is EAGER, then we use JOIN, and when it is LAZY, then we use SELECT.
|
protected static FetchStrategy |
AbstractEntityGraphVisitationStrategy.DEFAULT_LAZY |
Modifier and Type | Method and Description |
---|---|
protected FetchStrategy |
FetchStyleLoadPlanBuildingAssociationVisitationStrategy.adjustJoinFetchIfNeeded(AssociationAttributeDefinition attributeDefinition,
FetchStrategy fetchStrategy)
If required by this strategy, returns a different
FetchStrategy from what is specified
for the given association attribute. |
protected FetchStrategy |
AbstractEntityGraphVisitationStrategy.adjustJoinFetchIfNeeded(AssociationAttributeDefinition attributeDefinition,
FetchStrategy fetchStrategy) |
protected FetchStrategy |
FetchStyleLoadPlanBuildingAssociationVisitationStrategy.determineFetchStrategy(AssociationAttributeDefinition attributeDefinition) |
protected FetchStrategy |
CascadeStyleLoadPlanBuildingAssociationVisitationStrategy.determineFetchStrategy(AssociationAttributeDefinition attributeDefinition) |
protected abstract FetchStrategy |
AbstractLoadPlanBuildingAssociationVisitationStrategy.determineFetchStrategy(AssociationAttributeDefinition attributeDefinition) |
protected FetchStrategy |
AbstractEntityGraphVisitationStrategy.determineFetchStrategy(AssociationAttributeDefinition attributeDefinition) |
protected FetchStrategy |
LoadGraphLoadPlanBuildingStrategy.resolveImplicitFetchStrategyFromEntityGraph(AssociationAttributeDefinition attributeDefinition) |
protected FetchStrategy |
FetchGraphLoadPlanBuildingStrategy.resolveImplicitFetchStrategyFromEntityGraph(AssociationAttributeDefinition attributeDefinition) |
protected abstract FetchStrategy |
AbstractEntityGraphVisitationStrategy.resolveImplicitFetchStrategyFromEntityGraph(AssociationAttributeDefinition attributeDefinition) |
Modifier and Type | Method and Description |
---|---|
protected FetchStrategy |
FetchStyleLoadPlanBuildingAssociationVisitationStrategy.adjustJoinFetchIfNeeded(AssociationAttributeDefinition attributeDefinition,
FetchStrategy fetchStrategy)
If required by this strategy, returns a different
FetchStrategy from what is specified
for the given association attribute. |
protected FetchStrategy |
AbstractEntityGraphVisitationStrategy.adjustJoinFetchIfNeeded(AssociationAttributeDefinition attributeDefinition,
FetchStrategy fetchStrategy) |
Modifier and Type | Field and Description |
---|---|
protected static FetchStrategy |
AbstractCompositeFetch.FETCH_STRATEGY |
Modifier and Type | Method and Description |
---|---|
FetchStrategy |
EntityAttributeFetchImpl.getFetchStrategy() |
FetchStrategy |
CollectionAttributeFetchImpl.getFetchStrategy() |
FetchStrategy |
AnyAttributeFetchImpl.getFetchStrategy() |
FetchStrategy |
AbstractCompositeFetch.getFetchStrategy() |
Modifier and Type | Method and Description |
---|---|
AnyAttributeFetch |
AbstractExpandingFetchSource.buildAnyAttributeFetch(AssociationAttributeDefinition attributeDefinition,
FetchStrategy fetchStrategy) |
BidirectionalEntityReference |
AbstractExpandingFetchSource.buildBidirectionalEntityReference(AssociationAttributeDefinition attributeDefinition,
FetchStrategy fetchStrategy,
EntityReference targetEntityReference) |
CollectionAttributeFetch |
AbstractExpandingFetchSource.buildCollectionAttributeFetch(AssociationAttributeDefinition attributeDefinition,
FetchStrategy fetchStrategy) |
CollectionAttributeFetch |
AbstractCompositeReference.buildCollectionAttributeFetch(AssociationAttributeDefinition attributeDefinition,
FetchStrategy fetchStrategy) |
EntityFetch |
AbstractExpandingFetchSource.buildEntityAttributeFetch(AssociationAttributeDefinition attributeDefinition,
FetchStrategy fetchStrategy) |
void |
EntityReturnImpl.validateFetchPlan(FetchStrategy fetchStrategy,
AttributeDefinition attributeDefinition) |
void |
EntityAttributeFetchImpl.validateFetchPlan(FetchStrategy fetchStrategy,
AttributeDefinition attributeDefinition) |
void |
CollectionFetchableIndexEntityGraph.validateFetchPlan(FetchStrategy fetchStrategy,
AttributeDefinition attributeDefinition) |
void |
CollectionFetchableElementEntityGraph.validateFetchPlan(FetchStrategy fetchStrategy,
AttributeDefinition attributeDefinition) |
void |
AbstractCompositeReference.validateFetchPlan(FetchStrategy fetchStrategy,
AttributeDefinition attributeDefinition) |
Constructor and Description |
---|
AnyAttributeFetchImpl(FetchSource fetchSource,
AssociationAttributeDefinition fetchedAttribute,
FetchStrategy fetchStrategy) |
CollectionAttributeFetchImpl(ExpandingFetchSource fetchSource,
AssociationAttributeDefinition fetchedAttribute,
FetchStrategy fetchStrategy,
ExpandingCollectionQuerySpace collectionQuerySpace) |
EntityAttributeFetchImpl(ExpandingFetchSource fetchSource,
AssociationAttributeDefinition fetchedAttribute,
FetchStrategy fetchStrategy,
ExpandingEntityQuerySpace entityQuerySpace) |
Modifier and Type | Method and Description |
---|---|
ExpandingCollectionQuerySpace |
QuerySpaceHelper.makeCollectionQuerySpace(ExpandingQuerySpace lhsQuerySpace,
AssociationAttributeDefinition attributeDefinition,
String querySpaceUid,
FetchStrategy fetchStrategy) |
ExpandingEntityQuerySpace |
QuerySpaceHelper.makeEntityQuerySpace(ExpandingQuerySpace lhsQuerySpace,
AssociationAttributeDefinition attribute,
String querySpaceUid,
FetchStrategy fetchStrategy) |
boolean |
QuerySpaceHelper.shouldIncludeJoin(FetchStrategy fetchStrategy) |
Modifier and Type | Method and Description |
---|---|
AnyAttributeFetch |
ExpandingFetchSource.buildAnyAttributeFetch(AssociationAttributeDefinition attributeDefinition,
FetchStrategy fetchStrategy)
Builds a fetch for an "any" attribute.
|
BidirectionalEntityReference |
ExpandingFetchSource.buildBidirectionalEntityReference(AssociationAttributeDefinition attributeDefinition,
FetchStrategy fetchStrategy,
EntityReference targetEntityReference)
Builds a bidirectional entity reference for an entity attribute.
|
CollectionAttributeFetch |
ExpandingFetchSource.buildCollectionAttributeFetch(AssociationAttributeDefinition attributeDefinition,
FetchStrategy fetchStrategy)
Builds a fetch for a collection attribute.
|
EntityFetch |
ExpandingFetchSource.buildEntityAttributeFetch(AssociationAttributeDefinition attributeDefinition,
FetchStrategy fetchStrategy)
Builds a fetch for an entity attribute.
|
void |
ExpandingFetchSource.validateFetchPlan(FetchStrategy fetchStrategy,
AttributeDefinition attributeDefinition)
Is the asserted plan valid from this owner to a fetch?
|
Modifier and Type | Method and Description |
---|---|
FetchStrategy |
Fetch.getFetchStrategy()
Gets the fetch strategy for this fetch.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
FetchStrategyHelper.isJoinFetched(FetchStrategy fetchStrategy) |
Modifier and Type | Method and Description |
---|---|
FetchStrategy |
AssociationAttributeDefinition.determineFetchPlan(LoadQueryInfluencers loadQueryInfluencers,
PropertyPath propertyPath) |
Modifier and Type | Method and Description |
---|---|
FetchStrategy |
CompositeBasedAssociationAttribute.determineFetchPlan(LoadQueryInfluencers loadQueryInfluencers,
PropertyPath propertyPath) |
Modifier and Type | Method and Description |
---|---|
FetchStrategy |
EntityBasedAssociationAttribute.determineFetchPlan(LoadQueryInfluencers loadQueryInfluencers,
PropertyPath propertyPath) |
Copyright © 2016 JBoss by Red Hat. All rights reserved.