Class DynamicInstantiationAssemblerListImpl
- java.lang.Object
-
- org.hibernate.sql.results.graph.instantiation.internal.DynamicInstantiationAssemblerListImpl
-
- All Implemented Interfaces:
DomainResultAssembler<List<?>>
public class DynamicInstantiationAssemblerListImpl extends Object implements DomainResultAssembler<List<?>>
A QueryResultAssembler implementation representing handling for dynamic- instantiations targeting a List (per-"row"), E.g.`select new list( pers.name, pers.dateOfBirth ) ...`
-
-
Constructor Summary
Constructors Constructor Description DynamicInstantiationAssemblerListImpl(JavaType<List<?>> listJavaType, List<ArgumentReader<?>> argumentReaders)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<?>
assemble(RowProcessingState rowProcessingState, JdbcValuesSourceProcessingOptions options)
The main "assembly" contract.JavaType<List<?>>
getAssembledJavaType()
The JavaType describing the Java type that this assembler assembles.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.results.graph.DomainResultAssembler
assemble, resolveState
-
-
-
-
Constructor Detail
-
DynamicInstantiationAssemblerListImpl
public DynamicInstantiationAssemblerListImpl(JavaType<List<?>> listJavaType, List<ArgumentReader<?>> argumentReaders)
-
-
Method Detail
-
getAssembledJavaType
public JavaType<List<?>> getAssembledJavaType()
Description copied from interface:DomainResultAssembler
The JavaType describing the Java type that this assembler assembles.- Specified by:
getAssembledJavaType
in interfaceDomainResultAssembler<List<?>>
-
assemble
public List<?> assemble(RowProcessingState rowProcessingState, JdbcValuesSourceProcessingOptions options)
Description copied from interface:DomainResultAssembler
The main "assembly" contract. Assemble the result and return it.- Specified by:
assemble
in interfaceDomainResultAssembler<List<?>>
-
-