public class CompositeIndexGraph extends AbstractFetchOwner implements FetchableCollectionIndex
FetchOwner for a composite collection index.NO_FETCHES| Modifier | Constructor and Description |
|---|---|
protected |
CompositeIndexGraph(CompositeIndexGraph original,
CopyContext copyContext) |
|
CompositeIndexGraph(SessionFactoryImplementor sessionFactory,
CollectionReference collectionReference,
PropertyPath collectionPath)
Constructs a
CompositeElementGraph. |
| Modifier and Type | Method and Description |
|---|---|
CollectionFetch |
buildCollectionFetch(AssociationAttributeDefinition attributeDefinition,
FetchStrategy fetchStrategy,
LoadPlanBuildingContext loadPlanBuildingContext) |
CollectionReference |
getCollectionReference()
Returns the collection reference.
|
PropertyPath |
getPropertyPath()
Get the property path to this fetch owner
|
CompositeIndexGraph |
makeCopy(CopyContext copyContext)
Makes a deep copy.
|
EntityPersister |
retrieveFetchSourcePersister()
Retrieve the EntityPersister that is the base for any property references in the fetches it owns.
|
SqlSelectFragmentResolver |
toSqlSelectFragmentResolver() |
void |
validateFetchPlan(FetchStrategy fetchStrategy,
AttributeDefinition attributeDefinition)
Is the asserted plan valid from this owner to a fetch?
|
addFetch, buildAnyFetch, buildCompositeFetch, buildEntityFetch, getFetches, getType, isNullable, toSqlSelectFragmentssessionFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddFetch, buildAnyFetch, buildCompositeFetch, buildEntityFetch, getFetches, getType, isNullable, toSqlSelectFragmentspublic CompositeIndexGraph(SessionFactoryImplementor sessionFactory, CollectionReference collectionReference, PropertyPath collectionPath)
CompositeElementGraph.sessionFactory - - the session factory.collectionReference - - the collection reference.collectionPath - - the PropertyPath for the collection.protected CompositeIndexGraph(CompositeIndexGraph original, CopyContext copyContext)
public void validateFetchPlan(FetchStrategy fetchStrategy, AttributeDefinition attributeDefinition)
FetchOwnervalidateFetchPlan in interface FetchOwnerfetchStrategy - The type of fetch to validateattributeDefinition - The attribute to be fetchedpublic EntityPersister retrieveFetchSourcePersister()
FetchOwnerretrieveFetchSourcePersister in interface FetchOwnerpublic CollectionReference getCollectionReference()
FetchableCollectionIndexgetCollectionReference in interface FetchableCollectionIndexpublic PropertyPath getPropertyPath()
FetchOwnergetPropertyPath in interface FetchOwnerpublic CompositeIndexGraph makeCopy(CopyContext copyContext)
CopyableReturnmakeCopy in interface CopyableReturnmakeCopy in interface FetchableCollectionIndexpublic CollectionFetch buildCollectionFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy, LoadPlanBuildingContext loadPlanBuildingContext)
buildCollectionFetch in interface FetchOwnerbuildCollectionFetch in class AbstractFetchOwnerpublic SqlSelectFragmentResolver toSqlSelectFragmentResolver()
toSqlSelectFragmentResolver in interface FetchOwnerCopyright © 2001-2013 Red Hat, Inc. All Rights Reserved.