Record Class CollectionMutationPlanContributor.DeleteRowPlanContext
java.lang.Object
java.lang.Record
org.hibernate.action.queue.spi.decompose.collection.CollectionMutationPlanContributor.DeleteRowPlanContext
- Record Components:
persister- The collection persister whose logical row is being deleted.tableDescriptor- The physical table descriptor used by the decomposer.sqlWhereString- Any SQL restriction fragment associated with the collection table.factory- The session factory.
- Enclosing interface:
CollectionMutationPlanContributor
public static record CollectionMutationPlanContributor.DeleteRowPlanContext(CollectionPersister persister, TableDescriptor tableDescriptor, String sqlWhereString, SessionFactoryImplementor factory)
extends Record
Context passed to
CollectionMutationPlanContributor.buildDeleteRowPlan(DeleteRowPlanContext, Supplier).- Since:
- 8.0
-
Constructor Summary
ConstructorsConstructorDescriptionDeleteRowPlanContext(CollectionPersister persister, TableDescriptor tableDescriptor, String sqlWhereString, SessionFactoryImplementor factory) Creates an instance of aDeleteRowPlanContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.factory()Returns the value of thefactoryrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thepersisterrecord component.Returns the value of thesqlWhereStringrecord component.Returns the value of thetableDescriptorrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DeleteRowPlanContext
public DeleteRowPlanContext(CollectionPersister persister, TableDescriptor tableDescriptor, String sqlWhereString, SessionFactoryImplementor factory) Creates an instance of aDeleteRowPlanContextrecord class.- Parameters:
persister- the value for thepersisterrecord componenttableDescriptor- the value for thetableDescriptorrecord componentsqlWhereString- the value for thesqlWhereStringrecord componentfactory- the value for thefactoryrecord 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). -
persister
-
tableDescriptor
Returns the value of thetableDescriptorrecord component.- Returns:
- the value of the
tableDescriptorrecord component
-
sqlWhereString
Returns the value of thesqlWhereStringrecord component.- Returns:
- the value of the
sqlWhereStringrecord component
-
factory
-