Package org.hibernate.sql.results.graph
Interface DomainResultAssembler<J>
-
- All Known Implementing Classes:
AbstractCollectionAssembler
,ArgumentReader
,BasicResultAssembler
,CoercingResultAssembler
,DelayedCollectionAssembler
,DynamicInstantiationAssemblerConstructorImpl
,DynamicInstantiationAssemblerInjectionImpl
,DynamicInstantiationAssemblerListImpl
,DynamicInstantiationAssemblerMapImpl
,EagerCollectionAssembler
,EmbeddableAssembler
,EntityAssembler
,NullValueAssembler
,SelectEagerCollectionAssembler
,TupleResultAssembler
,UnfetchedBasicPartResultAssembler
,UnfetchedCollectionAssembler
,UnfetchedResultAssembler
@Incubating public interface DomainResultAssembler<J>
Responsible for "assembling" a result for inclusion in the domain query result. "Assembling" the result basically means building the result object (whatever that means for a specific result type) and returning it for injection into the result "row" currently being processed
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default J
assemble(RowProcessingState rowProcessingState)
Convenience form ofassemble(RowProcessingState, JdbcValuesSourceProcessingOptions)
J
assemble(RowProcessingState rowProcessingState, JdbcValuesSourceProcessingOptions options)
The main "assembly" contract.JavaType<J>
getAssembledJavaType()
The JavaType describing the Java type that this assembler assembles.default void
resolveState(RowProcessingState rowProcessingState)
This method is used to resolve the assembler's state, i.e.
-
-
-
Method Detail
-
assemble
J assemble(RowProcessingState rowProcessingState, JdbcValuesSourceProcessingOptions options)
The main "assembly" contract. Assemble the result and return it.
-
assemble
default J assemble(RowProcessingState rowProcessingState)
Convenience form ofassemble(RowProcessingState, JdbcValuesSourceProcessingOptions)
-
getAssembledJavaType
JavaType<J> getAssembledJavaType()
The JavaType describing the Java type that this assembler assembles.
-
resolveState
default void resolveState(RowProcessingState rowProcessingState)
This method is used to resolve the assembler's state, i.e. reading the result values, with some performance optimization when we don't need the result object itself
-
-