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 ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from class org.hibernate.sql.results.graph.entity.internal.AbstractBatchEntitySelectFetchInitializer
AbstractBatchEntitySelectFetchInitializer.AbstractBatchEntitySelectFetchInitializerDataNested classes/interfaces inherited from class org.hibernate.sql.results.graph.entity.internal.EntitySelectFetchInitializer
EntitySelectFetchInitializer.EntitySelectFetchInitializerDataNested classes/interfaces inherited from interface org.hibernate.sql.results.graph.Initializer
Initializer.State -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SerializableMarker value for batch properties, needed by the EmbeddableInitializer to instantiate the embeddable instance in case all the other properties are null.protected final Setterprotected final AttributeMapping[]protected final Getter[]protected final Type[]Fields inherited from class org.hibernate.sql.results.graph.entity.internal.AbstractBatchEntitySelectFetchInitializer
owningEntityInitializerFields inherited from class org.hibernate.sql.results.graph.entity.internal.EntitySelectFetchInitializer
affectedByFilter, concreteDescriptor, hasLazySubInitializer, keyAssembler, keyIsEager, parent, toOneMappingFields inherited from class org.hibernate.sql.results.graph.internal.AbstractInitializer
initializerIdFields inherited from interface org.hibernate.sql.results.graph.Initializer
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionBatchEntityInsideEmbeddableSelectFetchInitializer(InitializerParent<?> parentAccess, ToOneAttributeMapping referencedModelPart, NavigablePath fetchedNavigable, EntityPersister concreteDescriptor, DomainResult<?> keyResult, boolean affectedByFilter, AssemblerCreationState creationState) -
Method Summary
Modifier and TypeMethodDescriptionprotected InitializerDatacreateInitializerData(RowProcessingState rowProcessingState) voidendLoading(BatchEntityInsideEmbeddableSelectFetchInitializer.BatchEntityInsideEmbeddableSelectFetchInitializerData data) Lifecycle method called at the very end of the result values processingprotected Type[]getParentEntityAttributeTypes(String attributeName) protected static StringgetRootEmbeddablePropertyName(EntityInitializer<?> firstEntityInitializer, InitializerParent<?> parent, ToOneAttributeMapping referencedModelPart) protected voidinitializeAttributeType(Type[] attributeTypes, EntityPersister entityDescriptor, String attributeName) voidinitializeInstance(BatchEntityInsideEmbeddableSelectFetchInitializer.BatchEntityInsideEmbeddableSelectFetchInitializerData data) Step 3 - Initialize the state of the instance resolved inInitializer.resolveInstance(Data)from the current row values.protected voidregisterResolutionListener(BatchEntityInsideEmbeddableSelectFetchInitializer.BatchEntityInsideEmbeddableSelectFetchInitializerData data) protected voidregisterToBatchFetchQueue(BatchEntityInsideEmbeddableSelectFetchInitializer.BatchEntityInsideEmbeddableSelectFetchInitializerData data) toString()Methods inherited from class org.hibernate.sql.results.graph.entity.internal.AbstractBatchEntitySelectFetchInitializer
getExistingInitializedInstance, getParentEntityAttribute, getParentEntityAttributes, initializeInstanceFromParent, loadInstance, resolveInstance, resolveInstance, resolveInstanceFromIdentifier, resolveKeyMethods 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, resolveStateMethods inherited from class org.hibernate.sql.results.graph.internal.AbstractInitializer
finishUpRow, getData, startLoadingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.sql.results.graph.entity.EntityInitializer
asEntityInitializer, getConcreteDescriptor, getConcreteDescriptor, getEntityDescriptor, getEntityIdentifier, getEntityIdentifier, getTargetInstance, getTargetInstance, isEntityInitializer, resetResolvedEntityRegistrations, resolveEntityKeyOnlyMethods inherited from interface org.hibernate.sql.results.graph.Initializer
asCollectionInitializer, asEmbeddableInitializer, findOwningEntityInitializer, 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 Details
-
referencedModelPartSetter
-
rootEmbeddableAttributes
-
rootEmbeddableGetters
-
rootEmbeddablePropertyTypes
-
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 Details
-
Method Details
-
createInitializerData
-
getParentEntityAttributeTypes
-
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:InitializerStep 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:
initializeInstancein interfaceInitializer<BatchEntityInsideEmbeddableSelectFetchInitializer.BatchEntityInsideEmbeddableSelectFetchInitializerData>- Overrides:
initializeInstancein classAbstractBatchEntitySelectFetchInitializer<BatchEntityInsideEmbeddableSelectFetchInitializer.BatchEntityInsideEmbeddableSelectFetchInitializerData>
-
registerResolutionListener
protected void registerResolutionListener(BatchEntityInsideEmbeddableSelectFetchInitializer.BatchEntityInsideEmbeddableSelectFetchInitializerData data) -
endLoading
public void endLoading(BatchEntityInsideEmbeddableSelectFetchInitializer.BatchEntityInsideEmbeddableSelectFetchInitializerData data) Description copied from interface:InitializerLifecycle method called at the very end of the result values processing -
getRootEmbeddablePropertyName
protected static String getRootEmbeddablePropertyName(EntityInitializer<?> firstEntityInitializer, InitializerParent<?> parent, ToOneAttributeMapping referencedModelPart) -
toString
-