Package org.hibernate.sql.results.graph
Interface DomainResult<J>
-
- All Superinterfaces:
DomainResultGraphNode
- All Known Subinterfaces:
BasicResultGraphNode<J>
,DynamicInstantiationResult<R>
,EmbeddableResult<T>
,EntityResult
- All Known Implementing Classes:
AggregateEmbeddableResultImpl
,ArgumentDomainResult
,BasicFetch
,BasicResult
,CollectionDomainResult
,CompoundNaturalIdMapping.DomainResultImpl
,DiscriminatedEntityResult
,DynamicInstantiationResultImpl
,EmbeddableExpressionResultImpl
,EmbeddableForeignKeyResultImpl
,EmbeddableResultImpl
,EntityResultImpl
,EntityResultImpl
,NonAggregatedIdentifierMappingResult
,SqmMapEntryResult
,ToOneAttributeMapping.NullDomainResult
,TupleResult
@Incubating public interface DomainResult<J> extends DomainResultGraphNode
Represents a result value in the domain query results. Acts as the producer for theDomainResultAssembler
for this result as well as anyInitializer
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 aFetch
and so modeled as completely separate hierarchy.- See Also:
Fetch
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DomainResultAssembler<J>
createResultAssembler(InitializerParent<?> parent, AssemblerCreationState creationState)
Create an assembler (and any initializers) for this result.String
getResultVariable()
The result-variable (alias) associated with this result.-
Methods inherited from interface org.hibernate.sql.results.graph.DomainResultGraphNode
appliesTo, collectValueIndexesToCache, containsAnyNonScalarResults, getNavigablePath, getResultJavaType
-
-
-
-
Method Detail
-
getResultVariable
String getResultVariable()
The result-variable (alias) associated with this result.
-
createResultAssembler
DomainResultAssembler<J> createResultAssembler(InitializerParent<?> parent, AssemblerCreationState creationState)
Create an assembler (and any initializers) for this result.
-
-