Top Description Fields Constructors Methods
org.hibernate.sql.results.graph.embeddable.internal

public Class AggregateEmbeddableFetchInitializer

extends AbstractEmbeddableInitializer
implements AggregateEmbeddableInitializer
Class Inheritance
All Implemented Interfaces
org.hibernate.sql.results.graph.embeddable.internal.AggregateEmbeddableInitializer, org.hibernate.sql.results.graph.embeddable.EmbeddableInitializer, org.hibernate.sql.results.graph.FetchParentAccess, org.hibernate.sql.results.graph.Initializer
Imports
org.hibernate.metamodel.mapping.EmbeddableMappingType, org.hibernate.sql.ast.spi.SqlSelection, org.hibernate.sql.results.graph.AssemblerCreationState, .DomainResultAssembler, .FetchParentAccess, org.hibernate.sql.results.graph.embeddable.AbstractEmbeddableInitializer, .EmbeddableResultGraphNode, org.hibernate.sql.results.jdbc.spi.RowProcessingState

An initializer for an embeddable that is mapped as aggregate e.g. STRUCT, JSON or XML. The aggregate selection reads an Object[] from JDBC which serves as data for the nested org.hibernate.sql.results.graph.DomainResultAssembler. This class exposes the Object[] of the aggregate to the nested assemblers through a wrapping RowProcessingState.

Field Summary

Modifier and TypeField and Description
private final int[]
private NestedRowProcessingState
Inherited from org.hibernate.sql.results.graph.embeddable.AbstractEmbeddableInitializer:
assemblerscompositeInstance

Constructor Summary

AccessConstructor and Description
public
AggregateEmbeddableFetchInitializer(FetchParentAccess fetchParentAccess, EmbeddableResultGraphNode resultDescriptor, AssemblerCreationState creationState, SqlSelection structSelection)

Method Summary

Modifier and TypeMethod and Description
protected DomainResultAssembler<?>[]
public int[]
public Object
public NestedRowProcessingState
Inherited from org.hibernate.sql.results.graph.embeddable.AbstractEmbeddableInitializer:
findFirstEntityDescriptorAccessfindFirstEntityInitializerfinishUpRowgetCompositeInstancegetFetchParentAccessgetInitializedPartgetNavigablePathgetOwnergetValuegetValuesinitializeInstanceresolveInstanceresolveKeyresolveStatetoString

Field Detail

aggregateValuesArrayPositionsback to summary
private final int[] aggregateValuesArrayPositions
nestedRowProcessingStateback to summary
private NestedRowProcessingState nestedRowProcessingState

Constructor Detail

AggregateEmbeddableFetchInitializerback to summary
public AggregateEmbeddableFetchInitializer(FetchParentAccess fetchParentAccess, EmbeddableResultGraphNode resultDescriptor, AssemblerCreationState creationState, SqlSelection structSelection)

Method Detail

createAssemblersback to summary
protected DomainResultAssembler<?>[] createAssemblers(EmbeddableResultGraphNode resultDescriptor, AssemblerCreationState creationState, EmbeddableMappingType embeddableTypeDescriptor)

Overrides org.hibernate.sql.results.graph.embeddable.AbstractEmbeddableInitializer.createAssemblers.

Annotations
@Override
getAggregateValuesArrayPositionsback to summary
public int[] getAggregateValuesArrayPositions()

Implements org.hibernate.sql.results.graph.embeddable.internal.AggregateEmbeddableInitializer.getAggregateValuesArrayPositions.

Annotations
@Override
getParentKeyback to summary
public Object getParentKey()

Implements org.hibernate.sql.results.graph.FetchParentAccess.getParentKey.

Annotations
@Override
wrapProcessingStateback to summary
public NestedRowProcessingState wrapProcessingState(RowProcessingState processingState)

Overrides default org.hibernate.sql.results.graph.embeddable.EmbeddableInitializer.wrapProcessingState.

Annotations
@Override