Class EmbeddableAssembler
- java.lang.Object
-
- org.hibernate.sql.results.graph.embeddable.internal.EmbeddableAssembler
-
- All Implemented Interfaces:
DomainResultAssembler
public class EmbeddableAssembler extends Object implements DomainResultAssembler
-
-
Field Summary
Fields Modifier and Type Field Description protected EmbeddableInitializerinitializer
-
Constructor Summary
Constructors Constructor Description EmbeddableAssembler(EmbeddableInitializer initializer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectassemble(RowProcessingState rowProcessingState, JdbcValuesSourceProcessingOptions options)The main "assembly" contract.JavaTypegetAssembledJavaType()The JavaType describing the Java type that this assembler assembles.EmbeddableInitializergetInitializer()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, wait
-
Methods inherited from interface org.hibernate.sql.results.graph.DomainResultAssembler
assemble
-
-
-
-
Field Detail
-
initializer
protected final EmbeddableInitializer initializer
-
-
Constructor Detail
-
EmbeddableAssembler
public EmbeddableAssembler(EmbeddableInitializer initializer)
-
-
Method Detail
-
getAssembledJavaType
public JavaType getAssembledJavaType()
Description copied from interface:DomainResultAssemblerThe JavaType describing the Java type that this assembler assembles.- Specified by:
getAssembledJavaTypein interfaceDomainResultAssembler
-
assemble
public Object assemble(RowProcessingState rowProcessingState, JdbcValuesSourceProcessingOptions options)
Description copied from interface:DomainResultAssemblerThe main "assembly" contract. Assemble the result and return it.- Specified by:
assemblein interfaceDomainResultAssembler
-
resolveState
public void resolveState(RowProcessingState rowProcessingState)
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
-
getInitializer
public EmbeddableInitializer getInitializer()
- Specified by:
getInitializerin interfaceDomainResultAssembler
-
-