Top Description Methods
org.hibernate.sql.results.graph

public Interface DomainResultAssembler<J>

Known Direct Implementers
org.hibernate.sql.results.graph.UnfetchedBasicPartResultAssembler, org.hibernate.sql.results.graph.UnfetchedResultAssembler, org.hibernate.sql.results.graph.basic.BasicResultAssembler, org.hibernate.sql.results.graph.collection.internal.AbstractCollectionAssembler, org.hibernate.sql.results.graph.collection.internal.UnfetchedCollectionAssembler, org.hibernate.sql.results.graph.embeddable.internal.EmbeddableAssembler, org.hibernate.sql.results.graph.entity.internal.EntityAssembler, org.hibernate.sql.results.graph.instantiation.internal.ArgumentReader, org.hibernate.sql.results.graph.instantiation.internal.DynamicInstantiationAssemblerConstructorImpl, org.hibernate.sql.results.graph.instantiation.internal.DynamicInstantiationAssemblerInjectionImpl, org.hibernate.sql.results.graph.instantiation.internal.DynamicInstantiationAssemblerListImpl, org.hibernate.sql.results.graph.instantiation.internal.DynamicInstantiationAssemblerMapImpl, org.hibernate.sql.results.graph.tuple.TupleResultAssembler, org.hibernate.sql.results.internal.NullValueAssembler, org.hibernate.sql.results.internal.domain.CircularBiDirectionalFetchImpl.CircularFetchAssembler, org.hibernate.sql.results.internal.domain.CircularFetchImpl.BiDirectionalFetchAssembler, org.hibernate.metamodel.mapping.internal.CompoundNaturalIdMapping.AssemblerImpl, org.hibernate.metamodel.mapping.internal.DiscriminatedAssociationMapping.AnyResultAssembler
Annotations
@Incubating
Imports
org.hibernate.Incubating, org.hibernate.sql.results.jdbc.spi.JdbcValuesSourceProcessingOptions, .RowProcessingState, org.hibernate.type.descriptor.java.JavaType

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
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public J
assemble(RowProcessingState rowProcessingState, JdbcValuesSourceProcessingOptions options)

The main "assembly" contract.

public default J
public JavaType<J>
getAssembledJavaType()

The JavaType describing the Java type that this assembler assembles.

public 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

Method Detail

assembleback to summary
public J assemble(RowProcessingState rowProcessingState, JdbcValuesSourceProcessingOptions options)

The main "assembly" contract. Assemble the result and return it.

assembleback to summary
public default J assemble(RowProcessingState rowProcessingState)

Convenience form of assemble(RowProcessingState, JdbcValuesSourceProcessingOptions)

getAssembledJavaTypeback to summary
public JavaType<J> getAssembledJavaType()

The JavaType describing the Java type that this assembler assembles.

resolveStateback to summary
public 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