Class DynamicInstantiationAssemblerInjectionImpl<T>
java.lang.Object
org.hibernate.sql.results.graph.instantiation.internal.DynamicInstantiationAssemblerInjectionImpl<T>
- All Implemented Interfaces:
DomainResultAssembler<T>
public class DynamicInstantiationAssemblerInjectionImpl<T>
extends Object
implements DomainResultAssembler<T>
-
Constructor Summary
ConstructorsConstructorDescriptionDynamicInstantiationAssemblerInjectionImpl(JavaType<T> target, List<ArgumentReader<?>> argumentReaders) -
Method Summary
Modifier and TypeMethodDescriptionassemble(RowProcessingState rowProcessingState) The main "assembly" contract.<X> voidforEachResultAssembler(BiConsumer<Initializer<?>, X> consumer, X arg) Invokes the consumer with every initializer part of this assembler that returnstrueforInitializer.isResultInitializer().The JavaType describing the Java type that this assembler assembles.voidresolveState(RowProcessingState rowProcessingState) This method is used to resolve the assembler's state, i.e.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.sql.results.graph.DomainResultAssembler
getInitializer
-
Constructor Details
-
DynamicInstantiationAssemblerInjectionImpl
public DynamicInstantiationAssemblerInjectionImpl(JavaType<T> target, List<ArgumentReader<?>> argumentReaders)
-
-
Method Details
-
getAssembledJavaType
Description copied from interface:DomainResultAssemblerThe JavaType describing the Java type that this assembler assembles.- Specified by:
getAssembledJavaTypein interfaceDomainResultAssembler<T>
-
assemble
Description copied from interface:DomainResultAssemblerThe main "assembly" contract. Assemble the result and return it.- Specified by:
assemblein interfaceDomainResultAssembler<T>
-
resolveState
Description copied from interface:DomainResultAssemblerThis 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- Specified by:
resolveStatein interfaceDomainResultAssembler<T>
-
forEachResultAssembler
Description copied from interface:DomainResultAssemblerInvokes the consumer with every initializer part of this assembler that returnstrueforInitializer.isResultInitializer().- Specified by:
forEachResultAssemblerin interfaceDomainResultAssembler<T>
-