Class BatchEntityInsideEmbeddableSelectFetchInitializer
- java.lang.Object
-
- org.hibernate.sql.results.graph.internal.AbstractInitializer<Data>
-
- org.hibernate.sql.results.graph.entity.internal.EntitySelectFetchInitializer<Data>
-
- org.hibernate.sql.results.graph.entity.internal.AbstractBatchEntitySelectFetchInitializer<BatchEntityInsideEmbeddableSelectFetchInitializer.BatchEntityInsideEmbeddableSelectFetchInitializerData>
-
- org.hibernate.sql.results.graph.entity.internal.BatchEntityInsideEmbeddableSelectFetchInitializer
-
- All Implemented Interfaces:
EntityInitializer<BatchEntityInsideEmbeddableSelectFetchInitializer.BatchEntityInsideEmbeddableSelectFetchInitializerData>
,Initializer<BatchEntityInsideEmbeddableSelectFetchInitializer.BatchEntityInsideEmbeddableSelectFetchInitializerData>
,InitializerParent<BatchEntityInsideEmbeddableSelectFetchInitializer.BatchEntityInsideEmbeddableSelectFetchInitializerData>
public class BatchEntityInsideEmbeddableSelectFetchInitializer extends AbstractBatchEntitySelectFetchInitializer<BatchEntityInsideEmbeddableSelectFetchInitializer.BatchEntityInsideEmbeddableSelectFetchInitializerData>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BatchEntityInsideEmbeddableSelectFetchInitializer.BatchEntityInsideEmbeddableSelectFetchInitializerData
-
Nested classes/interfaces inherited from class org.hibernate.sql.results.graph.entity.internal.AbstractBatchEntitySelectFetchInitializer
AbstractBatchEntitySelectFetchInitializer.AbstractBatchEntitySelectFetchInitializerData
-
Nested classes/interfaces inherited from class org.hibernate.sql.results.graph.entity.internal.EntitySelectFetchInitializer
EntitySelectFetchInitializer.EntitySelectFetchInitializerData
-
Nested classes/interfaces inherited from interface org.hibernate.sql.results.graph.Initializer
Initializer.State
-
-
Field Summary
Fields Modifier and Type Field Description static Serializable
BATCH_PROPERTY
Marker value for batch properties, needed by the EmbeddableInitializer to instantiate the embeddable instance in case all the other properties are null.protected Setter
referencedModelPartSetter
protected AttributeMapping[]
rootEmbeddableAttributes
protected Getter[]
rootEmbeddableGetters
protected Type[]
rootEmbeddablePropertyTypes
-
Fields inherited from class org.hibernate.sql.results.graph.entity.internal.AbstractBatchEntitySelectFetchInitializer
owningEntityInitializer
-
Fields inherited from class org.hibernate.sql.results.graph.entity.internal.EntitySelectFetchInitializer
affectedByFilter, concreteDescriptor, hasLazySubInitializer, keyAssembler, keyIsEager, parent, toOneMapping
-
Fields inherited from class org.hibernate.sql.results.graph.internal.AbstractInitializer
initializerId
-
Fields inherited from interface org.hibernate.sql.results.graph.Initializer
EMPTY_ARRAY
-
-
Constructor Summary
Constructors Constructor Description BatchEntityInsideEmbeddableSelectFetchInitializer(InitializerParent<?> parentAccess, ToOneAttributeMapping referencedModelPart, NavigablePath fetchedNavigable, EntityPersister concreteDescriptor, DomainResult<?> keyResult, boolean affectedByFilter, AssemblerCreationState creationState)
-
Method Summary
-
Methods inherited from class org.hibernate.sql.results.graph.entity.internal.AbstractBatchEntitySelectFetchInitializer
getExistingInitializedInstance, getParentEntityAttribute, getParentEntityAttributes, initializeInstanceFromParent, loadInstance, resolveInstance, resolveInstance, resolveInstanceFromIdentifier, resolveKey
-
Methods inherited from class org.hibernate.sql.results.graph.entity.internal.EntitySelectFetchInitializer
forEachSubInitializer, getConcreteDescriptor, getEntityDescriptor, getEntityIdentifier, getInitializedPart, getKeyAssembler, getNavigablePath, getParent, hasLazySubInitializers, initialize, isEager, isPartOfKey, isResultInitializer, resolveFromPreviousRow, resolveState
-
Methods inherited from class org.hibernate.sql.results.graph.internal.AbstractInitializer
finishUpRow, getData, startLoading
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.sql.results.graph.entity.EntityInitializer
asEntityInitializer, getConcreteDescriptor, getConcreteDescriptor, getEntityDescriptor, getEntityIdentifier, getEntityIdentifier, getTargetInstance, getTargetInstance, isEntityInitializer, resetResolvedEntityRegistrations, resolveEntityKeyOnly
-
Methods inherited from interface org.hibernate.sql.results.graph.Initializer
asCollectionInitializer, asEmbeddableInitializer, endLoading, findOwningEntityInitializer, finishUpRow, finishUpRow, getData, getInitializedPart, getNavigablePath, getParent, getResolvedInstance, getResolvedInstance, hasLazySubInitializers, initializeInstance, initializeInstanceFromParent, isCollectionInitializer, isEager, isEmbeddableInitializer, isLazyCapable, isPartOfKey, isResultInitializer, resolveFromPreviousRow, resolveFromPreviousRow, resolveInstance, resolveInstance, resolveKey, resolveState, resolveState, startLoading
-
-
-
-
Field Detail
-
referencedModelPartSetter
protected final Setter referencedModelPartSetter
-
rootEmbeddableAttributes
protected final AttributeMapping[] rootEmbeddableAttributes
-
rootEmbeddableGetters
protected final Getter[] rootEmbeddableGetters
-
rootEmbeddablePropertyTypes
protected final Type[] rootEmbeddablePropertyTypes
-
BATCH_PROPERTY
public static final Serializable BATCH_PROPERTY
Marker value for batch properties, needed by the EmbeddableInitializer to instantiate the embeddable instance in case all the other properties are null.
-
-
Constructor Detail
-
BatchEntityInsideEmbeddableSelectFetchInitializer
public BatchEntityInsideEmbeddableSelectFetchInitializer(InitializerParent<?> parentAccess, ToOneAttributeMapping referencedModelPart, NavigablePath fetchedNavigable, EntityPersister concreteDescriptor, DomainResult<?> keyResult, boolean affectedByFilter, AssemblerCreationState creationState)
-
-
Method Detail
-
createInitializerData
protected InitializerData createInitializerData(RowProcessingState rowProcessingState)
-
initializeAttributeType
protected void initializeAttributeType(Type[] attributeTypes, EntityPersister entityDescriptor, String attributeName)
-
registerToBatchFetchQueue
protected void registerToBatchFetchQueue(BatchEntityInsideEmbeddableSelectFetchInitializer.BatchEntityInsideEmbeddableSelectFetchInitializerData data)
-
initializeInstance
public void initializeInstance(BatchEntityInsideEmbeddableSelectFetchInitializer.BatchEntityInsideEmbeddableSelectFetchInitializerData data)
Description copied from interface:Initializer
Step 3 - Initialize the state of the instance resolved inInitializer.resolveInstance(Data)
from the current row values. All resolved state for the current row is injected into the resolved instance- Specified by:
initializeInstance
in interfaceInitializer<BatchEntityInsideEmbeddableSelectFetchInitializer.BatchEntityInsideEmbeddableSelectFetchInitializerData>
- Overrides:
initializeInstance
in classAbstractBatchEntitySelectFetchInitializer<BatchEntityInsideEmbeddableSelectFetchInitializer.BatchEntityInsideEmbeddableSelectFetchInitializerData>
-
registerResolutionListener
protected void registerResolutionListener(BatchEntityInsideEmbeddableSelectFetchInitializer.BatchEntityInsideEmbeddableSelectFetchInitializerData data)
-
endLoading
public void endLoading(BatchEntityInsideEmbeddableSelectFetchInitializer.BatchEntityInsideEmbeddableSelectFetchInitializerData data)
Description copied from interface:Initializer
Lifecycle method called at the very end of the result values processing
-
getRootEmbeddablePropertyName
protected static String getRootEmbeddablePropertyName(EntityInitializer<?> firstEntityInitializer, InitializerParent<?> parent, ToOneAttributeMapping referencedModelPart)
-
toString
public String toString()
-
-