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
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.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncreateResultAssembler(InitializerParent<?> parent, AssemblerCreationState creationState) Create an assembler (and any initializers) for this result.The result-variable (alias) associated with this result.Methods inherited from interface org.hibernate.sql.results.graph.DomainResultGraphNode
appliesTo, collectValueIndexesToCache, containsAnyNonScalarResults, getNavigablePath, getResultJavaType
-
Method Details
-
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.
-