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.
|
protected FetchOwnerDelegate |
getFetchOwnerDelegate()
Abstract method returning the delegate for obtaining details about an owned fetch.
|
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.
|
void |
validateFetchPlan(FetchStrategy fetchStrategy)
Is the asserted plan valid from this owner to a fetch?
|
addFetch, buildCompositeFetch, buildEntityFetch, getColumnNames, getFetches, getType, isNullablesessionFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddFetch, buildCompositeFetch, buildEntityFetch, getColumnNames, getFetches, getType, isNullablepublic 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)
FetchOwnervalidateFetchPlan in interface FetchOwnerfetchStrategy - The pla to validatepublic 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 FetchableCollectionIndexprotected FetchOwnerDelegate getFetchOwnerDelegate()
AbstractFetchOwnergetFetchOwnerDelegate in class AbstractFetchOwnerpublic CollectionFetch buildCollectionFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy, LoadPlanBuildingContext loadPlanBuildingContext)
buildCollectionFetch in interface FetchOwnerbuildCollectionFetch in class AbstractFetchOwnerCopyright © 2001-2013 Red Hat, Inc. All Rights Reserved.