Top Fields Constructors Methods
org.hibernate.sql.results.graph.collection.internal

public Class CollectionDomainResult

extends Object
implements DomainResult, CollectionResultGraphNode, FetchParent
Class Inheritance
All Implemented Interfaces
org.hibernate.sql.results.graph.FetchParent, org.hibernate.sql.results.graph.DomainResultGraphNode, org.hibernate.sql.results.graph.collection.CollectionResultGraphNode, org.hibernate.sql.results.graph.DomainResult
Imports
java.util.Collections, .List, org.hibernate.LockMode, org.hibernate.collection.spi.CollectionInitializerProducer, .CollectionSemantics, org.hibernate.metamodel.mapping.ForeignKeyDescriptor, .PluralAttributeMapping, org.hibernate.spi.NavigablePath, org.hibernate.sql.ast.tree.from.TableGroup, org.hibernate.sql.results.graph.AssemblerCreationState, .DomainResult, .DomainResultAssembler, .DomainResultCreationState, .Fetch, .FetchParent, .FetchParentAccess, .Fetchable, .FetchableContainer, org.hibernate.sql.results.graph.collection.CollectionInitializer, .CollectionResultGraphNode, org.hibernate.sql.results.graph.internal.ImmutableFetchList, org.hibernate.type.descriptor.java.JavaType

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final DomainResult<J>
private final CollectionInitializerProducer
private final PluralAttributeMapping
private final NavigablePath
private final String
private final TableGroup

Constructor Summary

AccessConstructor and Description
public
CollectionDomainResult(NavigablePath loadingPath, PluralAttributeMapping loadingAttribute, String resultVariable, TableGroup tableGroup, DomainResultCreationState creationState)

Method Summary

Modifier and TypeMethod and Description
public boolean
containsAnyNonScalarResults()

Overrides default org.hibernate.sql.results.graph.DomainResultGraphNode.containsAnyNonScalarResults.

Does this node contain any non-scalar (sub-)results?
public boolean
public DomainResultAssembler<J>
createResultAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)

Implements org.hibernate.sql.results.graph.DomainResult.createResultAssembler.

Create an assembler (and any initializers) for this result.
public Fetch
public ImmutableFetchList
getFetches()

Implements org.hibernate.sql.results.graph.FetchParent.getFetches.

Retrieve the fetches owned by this fetch source.
public NavigablePath
public FetchableContainer
public FetchableContainer
public JavaType<?>
public String
getResultVariable()

Implements org.hibernate.sql.results.graph.DomainResult.getResultVariable.

The result-variable (alias) associated with this result.
public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fkResultback to summary
private final DomainResult<J> fkResult
initializerProducerback to summary
private final CollectionInitializerProducer initializerProducer
loadingAttributeback to summary
private final PluralAttributeMapping loadingAttribute
loadingPathback to summary
private final NavigablePath loadingPath
resultVariableback to summary
private final String resultVariable
tableGroupback to summary
private final TableGroup tableGroup

Constructor Detail

CollectionDomainResultback to summary
public CollectionDomainResult(NavigablePath loadingPath, PluralAttributeMapping loadingAttribute, String resultVariable, TableGroup tableGroup, DomainResultCreationState creationState)

Method Detail

containsAnyNonScalarResultsback to summary
public boolean containsAnyNonScalarResults()

Overrides default org.hibernate.sql.results.graph.DomainResultGraphNode.containsAnyNonScalarResults.

Doc from org.hibernate.sql.results.graph.DomainResultGraphNode.containsAnyNonScalarResults.

Does this node contain any non-scalar (sub-)results?

Annotations
@Override
containsCollectionFetchesback to summary
public boolean containsCollectionFetches()

Implements org.hibernate.sql.results.graph.FetchParent.containsCollectionFetches.

Annotations
@Override
createResultAssemblerback to summary
public DomainResultAssembler<J> createResultAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)

Implements org.hibernate.sql.results.graph.DomainResult.createResultAssembler.

Doc from org.hibernate.sql.results.graph.DomainResult.createResultAssembler.

Create an assembler (and any initializers) for this result.

Annotations
@Override
findFetchback to summary
public Fetch findFetch(Fetchable fetchable)

Implements org.hibernate.sql.results.graph.FetchParent.findFetch.

Annotations
@Override
getFetchesback to summary
public ImmutableFetchList getFetches()

Implements org.hibernate.sql.results.graph.FetchParent.getFetches.

Doc from org.hibernate.sql.results.graph.FetchParent.getFetches.

Retrieve the fetches owned by this fetch source.

Annotations
@Override
getNavigablePathback to summary
public NavigablePath getNavigablePath()

Overrides default org.hibernate.sql.results.graph.DomainResultGraphNode.getNavigablePath.

Implements org.hibernate.sql.results.graph.FetchParent.getNavigablePath.

Doc from org.hibernate.sql.results.graph.FetchParent.getNavigablePath.

Get the property path to this parent

Annotations
@Override
getReferencedMappingContainerback to summary
public FetchableContainer getReferencedMappingContainer()

Implements org.hibernate.sql.results.graph.FetchParent.getReferencedMappingContainer.

Doc from org.hibernate.sql.results.graph.FetchParent.getReferencedMappingContainer.

This parent's mapping type

Annotations
@Override
getReferencedMappingTypeback to summary
public FetchableContainer getReferencedMappingType()

Implements org.hibernate.sql.results.graph.FetchParent.getReferencedMappingType.

Doc from org.hibernate.sql.results.graph.FetchParent.getReferencedMappingType.

This parent's mapping type

Annotations
@Override
getResultJavaTypeback to summary
public JavaType<?> getResultJavaType()

Implements org.hibernate.sql.results.graph.DomainResultGraphNode.getResultJavaType.

Annotations
@Override
getResultVariableback to summary
public String getResultVariable()

Implements org.hibernate.sql.results.graph.DomainResult.getResultVariable.

Doc from org.hibernate.sql.results.graph.DomainResult.getResultVariable.

The result-variable (alias) associated with this result.

Annotations
@Override
hasJoinFetchesback to summary
public boolean hasJoinFetches()

Implements org.hibernate.sql.results.graph.FetchParent.hasJoinFetches.

Annotations
@Override