Top Description Inners Methods
org.hibernate.persister.entity.mutation

public Interface AttributeAnalysis

Known Direct Subinterfaces
org.hibernate.persister.entity.mutation.UpdateCoordinatorStandard.AttributeAnalysisImplementor
Annotations
@Incubating
Imports
org.hibernate.Incubating, org.hibernate.metamodel.mapping.AttributeMapping

Results of analyzing an attribute in terms of handling update operations
Author
Steve Ebersole

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum
AttributeAnalysis.DirtynessStatus

Dirty-ness status of each attribute: it's useful to differentiate when it's definitely dirty, when it's definitely not dirty, and when we need to treat it like dirty but there is no certainty - for example because we didn't actually load the value from the database.

Method Summary

Modifier and TypeMethod and Description
public AttributeMapping
getAttribute()

The attribute analyzed here

public AttributeAnalysis.DirtynessStatus
getDirtynessStatus()

Whether the attribute is considered dirty

public boolean
includeInLocking()

Whether the attribute should be included in optimistic locking (where-clause restriction)

public boolean
includeInSet()

Whether the attribute should be included in setting the values on the database.

public default boolean
isSkipped()

Whether the attribute be skipped completely.

Method Detail

getAttributeback to summary
public AttributeMapping getAttribute()

The attribute analyzed here

getDirtynessStatusback to summary
public AttributeAnalysis.DirtynessStatus getDirtynessStatus()

Whether the attribute is considered dirty

includeInLockingback to summary
public boolean includeInLocking()

Whether the attribute should be included in optimistic locking (where-clause restriction)

includeInSetback to summary
public boolean includeInSet()

Whether the attribute should be included in setting the values on the database.

isSkippedback to summary
public default boolean isSkipped()

Whether the attribute be skipped completely.

See Also
includeInSet, includeInLocking
org.hibernate.persister.entity.mutation back to summary

public sealed Enum AttributeAnalysis.DirtynessStatus

extends Enum<AttributeAnalysis.DirtynessStatus>
Class Inheritance

Dirty-ness status of each attribute: it's useful to differentiate when it's definitely dirty, when it's definitely not dirty, and when we need to treat it like dirty but there is no certainty - for example because we didn't actually load the value from the database.

Field Summary

Modifier and TypeField and Description
public static final AttributeAnalysis.DirtynessStatus
public static final AttributeAnalysis.DirtynessStatus
public static final AttributeAnalysis.DirtynessStatus

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv boolean

Returns:

both DIRTY and CONSIDER_LIKE_DIRTY states will return true
isDirty
()

public static AttributeAnalysis.DirtynessStatus
public static AttributeAnalysis.DirtynessStatus[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

CONSIDER_LIKE_DIRTYback to summary
public static final AttributeAnalysis.DirtynessStatus CONSIDER_LIKE_DIRTY
DIRTYback to summary
public static final AttributeAnalysis.DirtynessStatus DIRTY
NOT_DIRTYback to summary
public static final AttributeAnalysis.DirtynessStatus NOT_DIRTY

Constructor Detail

DirtynessStatusback to summary
private DirtynessStatus()

Method Detail

isDirtyback to summary
pack-priv boolean isDirty()
Returns:boolean

both DIRTY and CONSIDER_LIKE_DIRTY states will return true

valueOfback to summary
public static AttributeAnalysis.DirtynessStatus valueOf(String name)
valuesback to summary
public static AttributeAnalysis.DirtynessStatus[] values()