Record Class InlineDeleteHandler.TableDeleter
java.lang.Object
java.lang.Record
org.hibernate.query.sqm.mutation.internal.inline.InlineDeleteHandler.TableDeleter
- Enclosing class:
InlineDeleteHandler
protected static record InlineDeleteHandler.TableDeleter(AbstractUpdateOrDeleteStatement statement, @Nullable Supplier<Consumer<SelectableConsumer>> tableKeyColumnsVisitationSupplier, int valueIndex, @Nullable ModelPart valueModelPart)
extends Record
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTableDeleter(AbstractUpdateOrDeleteStatement statement, @Nullable Supplier<Consumer<SelectableConsumer>> tableKeyColumnsVisitationSupplier, int valueIndex, @Nullable ModelPart valueModelPart) Creates an instance of aTableDeleterrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thestatementrecord component.@Nullable Supplier<Consumer<SelectableConsumer>> Returns the value of thetableKeyColumnsVisitationSupplierrecord component.final StringtoString()Returns a string representation of this record class.intReturns the value of thevalueIndexrecord component.@Nullable ModelPartReturns the value of thevalueModelPartrecord component.
-
Constructor Details
-
TableDeleter
protected TableDeleter(AbstractUpdateOrDeleteStatement statement, @Nullable Supplier<Consumer<SelectableConsumer>> tableKeyColumnsVisitationSupplier, int valueIndex, @Nullable ModelPart valueModelPart) Creates an instance of aTableDeleterrecord class.- Parameters:
statement- the value for thestatementrecord componenttableKeyColumnsVisitationSupplier- the value for thetableKeyColumnsVisitationSupplierrecord componentvalueIndex- the value for thevalueIndexrecord componentvalueModelPart- the value for thevalueModelPartrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
statement
Returns the value of thestatementrecord component.- Returns:
- the value of the
statementrecord component
-
tableKeyColumnsVisitationSupplier
Returns the value of thetableKeyColumnsVisitationSupplierrecord component.- Returns:
- the value of the
tableKeyColumnsVisitationSupplierrecord component
-
valueIndex
public int valueIndex()Returns the value of thevalueIndexrecord component.- Returns:
- the value of the
valueIndexrecord component
-
valueModelPart
Returns the value of thevalueModelPartrecord component.- Returns:
- the value of the
valueModelPartrecord component
-