Class ArgumentReader<A>
java.lang.Object
org.hibernate.sql.results.graph.instantiation.internal.ArgumentReader<A>
- All Implemented Interfaces:
DomainResultAssembler<A>
Specialized QueryResultAssembler for use as a "reader" for dynamic-
instantiation arguments.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable Aassemble(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().getAlias()The JavaType describing the Java type that this assembler assembles.@Nullable Initializer<?>voidresolveState(RowProcessingState rowProcessingState) This method is used to resolve the assembler's state, i.e.
-
Constructor Details
-
ArgumentReader
-
-
Method Details
-
getAlias
-
assemble
Description copied from interface:DomainResultAssemblerThe main "assembly" contract. Assemble the result and return it.- Specified by:
assemblein interfaceDomainResultAssembler<A>
-
getAssembledJavaType
Description copied from interface:DomainResultAssemblerThe JavaType describing the Java type that this assembler assembles.- Specified by:
getAssembledJavaTypein interfaceDomainResultAssembler<A>
-
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<A>
-
getInitializer
- Specified by:
getInitializerin interfaceDomainResultAssembler<A>
-
forEachResultAssembler
Description copied from interface:DomainResultAssemblerInvokes the consumer with every initializer part of this assembler that returnstrueforInitializer.isResultInitializer().- Specified by:
forEachResultAssemblerin interfaceDomainResultAssembler<A>
-