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
ConstructorsModifierConstructorDescriptionprotected
TableDeleter
(AbstractUpdateOrDeleteStatement statement, @Nullable Supplier<Consumer<SelectableConsumer>> tableKeyColumnsVisitationSupplier, int valueIndex, @Nullable ModelPart valueModelPart) Creates an instance of aTableDeleter
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of thestatement
record component.@Nullable Supplier
<Consumer<SelectableConsumer>> Returns the value of thetableKeyColumnsVisitationSupplier
record component.final String
toString()
Returns a string representation of this record class.int
Returns the value of thevalueIndex
record component.@Nullable ModelPart
Returns the value of thevalueModelPart
record component.
-
Constructor Details
-
TableDeleter
protected TableDeleter(AbstractUpdateOrDeleteStatement statement, @Nullable Supplier<Consumer<SelectableConsumer>> tableKeyColumnsVisitationSupplier, int valueIndex, @Nullable ModelPart valueModelPart) Creates an instance of aTableDeleter
record class.- Parameters:
statement
- the value for thestatement
record componenttableKeyColumnsVisitationSupplier
- the value for thetableKeyColumnsVisitationSupplier
record componentvalueIndex
- the value for thevalueIndex
record componentvalueModelPart
- the value for thevalueModelPart
record 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 thestatement
record component.- Returns:
- the value of the
statement
record component
-
tableKeyColumnsVisitationSupplier
Returns the value of thetableKeyColumnsVisitationSupplier
record component.- Returns:
- the value of the
tableKeyColumnsVisitationSupplier
record component
-
valueIndex
public int valueIndex()Returns the value of thevalueIndex
record component.- Returns:
- the value of the
valueIndex
record component
-
valueModelPart
Returns the value of thevalueModelPart
record component.- Returns:
- the value of the
valueModelPart
record component
-