Record Class PhysicalCollectionMutation.CreateAll
java.lang.Object
java.lang.Record
org.hibernate.collection.spi.PhysicalCollectionMutation.CreateAll
- All Implemented Interfaces:
PhysicalCollectionMutation
- Enclosing interface:
PhysicalCollectionMutation
public static record PhysicalCollectionMutation.CreateAll(@Nonnull FrozenCollectionRows currentRows)
extends Record
implements PhysicalCollectionMutation
Insert every retained current row for a logical create.
- Since:
- 8.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface PhysicalCollectionMutation
PhysicalCollectionMutation.CreateAll, PhysicalCollectionMutation.NoWork, PhysicalCollectionMutation.NoWorkHolder, PhysicalCollectionMutation.RemovalMode, PhysicalCollectionMutation.RemoveAll, PhysicalCollectionMutation.RemoveAllAndCreateAll, PhysicalCollectionMutation.RowChanges -
Constructor Summary
ConstructorsConstructorDescriptionCreateAll(FrozenCollectionRows currentRows) Creates an instance of aCreateAllrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecurrentRowsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CreateAll
Creates an instance of aCreateAllrecord class.- Parameters:
currentRows- the value for thecurrentRowsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
currentRows
Returns the value of thecurrentRowsrecord component.- Returns:
- the value of the
currentRowsrecord component
-