Top Description Methods
org.hibernate.sql.results.graph

public Interface DomainResult<J>

extends DomainResultGraphNode
Known Direct Subinterfaces
org.hibernate.sql.results.graph.basic.BasicResultGraphNode, org.hibernate.sql.results.graph.embeddable.EmbeddableResult, org.hibernate.sql.results.graph.entity.EntityResult, org.hibernate.sql.results.graph.instantiation.DynamicInstantiationResult
Known Direct Implementers
org.hibernate.sql.results.graph.basic.BasicResult, org.hibernate.sql.results.graph.collection.internal.CollectionDomainResult, org.hibernate.sql.results.graph.embeddable.internal.AggregateEmbeddableResultImpl, org.hibernate.sql.results.graph.embeddable.internal.EmbeddableExpressionResultImpl, org.hibernate.sql.results.graph.embeddable.internal.EmbeddableForeignKeyResultImpl, org.hibernate.sql.results.graph.embeddable.internal.EmbeddableResultImpl, org.hibernate.sql.results.graph.entity.internal.EntityDelayedResultImpl, org.hibernate.sql.results.graph.instantiation.internal.ArgumentDomainResult, org.hibernate.sql.results.graph.tuple.TupleResult, org.hibernate.metamodel.mapping.internal.CompoundNaturalIdMapping.DomainResultImpl, org.hibernate.metamodel.mapping.internal.DiscriminatedAssociationMapping.AnyValuedResult, org.hibernate.metamodel.mapping.internal.ToOneAttributeMapping.NullDomainResult, org.hibernate.query.sqm.sql.internal.SqmMapEntryResult
Annotations
@Incubating
Imports
org.hibernate.Incubating

Represents a result value in the domain query results. Acts as the producer for the DomainResultAssembler for this result as well as any Initializer instances needed Not the same as a result column in the JDBC ResultSet! This contract represents an individual domain-model-level query result. A DomainResult will usually consume multiple JDBC result columns. DomainResult is distinctly different from a Fetch and so modeled as completely separate hierarchy.
Author
Steve Ebersole
See Also
Fetch

Method Summary

Modifier and TypeMethod and Description
public DomainResultAssembler<J>
createResultAssembler(FetchParentAccess parentAccess, AssemblerCreationState creationState)

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

public String
getResultVariable()

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

Inherited from org.hibernate.sql.results.graph.DomainResultGraphNode:
appliesTocontainsAnyNonScalarResultsgetNavigablePathgetResultJavaType

Method Detail

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

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

getResultVariableback to summary
public String getResultVariable()

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