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, isNullable
sessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addFetch, buildCompositeFetch, buildEntityFetch, getColumnNames, getFetches, getType, isNullable
public 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)
FetchOwner
validateFetchPlan
in interface FetchOwner
fetchStrategy
- The pla to validatepublic EntityPersister retrieveFetchSourcePersister()
FetchOwner
retrieveFetchSourcePersister
in interface FetchOwner
public CollectionReference getCollectionReference()
FetchableCollectionIndex
getCollectionReference
in interface FetchableCollectionIndex
public PropertyPath getPropertyPath()
FetchOwner
getPropertyPath
in interface FetchOwner
public CompositeIndexGraph makeCopy(CopyContext copyContext)
CopyableReturn
makeCopy
in interface CopyableReturn
makeCopy
in interface FetchableCollectionIndex
protected FetchOwnerDelegate getFetchOwnerDelegate()
AbstractFetchOwner
getFetchOwnerDelegate
in class AbstractFetchOwner
public CollectionFetch buildCollectionFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy, LoadPlanBuildingContext loadPlanBuildingContext)
buildCollectionFetch
in interface FetchOwner
buildCollectionFetch
in class AbstractFetchOwner
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.