Record Class TableBasedInsertHandler.RootTableInserter
java.lang.Object
java.lang.Record
org.hibernate.query.sqm.mutation.internal.temptable.TableBasedInsertHandler.RootTableInserter
- Enclosing class:
TableBasedInsertHandler
protected static record TableBasedInsertHandler.RootTableInserter(@Nullable JdbcOperationQuerySelect temporaryTableIdentitySelect, @Nullable JdbcOperationQueryMutation temporaryTableIdUpdate, @Nullable String temporaryTableRowNumberSelectSql, JdbcOperationQueryMutation rootTableInsert, @Nullable String rootTableInsertWithReturningSql, @Nullable JdbcOperationQueryMutation temporaryTableIdentityUpdate)
extends Record
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
RootTableInserter
(@Nullable JdbcOperationQuerySelect temporaryTableIdentitySelect, @Nullable JdbcOperationQueryMutation temporaryTableIdUpdate, @Nullable String temporaryTableRowNumberSelectSql, JdbcOperationQueryMutation rootTableInsert, @Nullable String rootTableInsertWithReturningSql, @Nullable JdbcOperationQueryMutation temporaryTableIdentityUpdate) Creates an instance of aRootTableInserter
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 therootTableInsert
record component.@Nullable String
Returns the value of therootTableInsertWithReturningSql
record component.@Nullable JdbcOperationQuerySelect
Returns the value of thetemporaryTableIdentitySelect
record component.@Nullable JdbcOperationQueryMutation
Returns the value of thetemporaryTableIdentityUpdate
record component.@Nullable JdbcOperationQueryMutation
Returns the value of thetemporaryTableIdUpdate
record component.@Nullable String
Returns the value of thetemporaryTableRowNumberSelectSql
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
RootTableInserter
protected RootTableInserter(@Nullable JdbcOperationQuerySelect temporaryTableIdentitySelect, @Nullable JdbcOperationQueryMutation temporaryTableIdUpdate, @Nullable String temporaryTableRowNumberSelectSql, JdbcOperationQueryMutation rootTableInsert, @Nullable String rootTableInsertWithReturningSql, @Nullable JdbcOperationQueryMutation temporaryTableIdentityUpdate) Creates an instance of aRootTableInserter
record class.- Parameters:
temporaryTableIdentitySelect
- the value for thetemporaryTableIdentitySelect
record componenttemporaryTableIdUpdate
- the value for thetemporaryTableIdUpdate
record componenttemporaryTableRowNumberSelectSql
- the value for thetemporaryTableRowNumberSelectSql
record componentrootTableInsert
- the value for therootTableInsert
record componentrootTableInsertWithReturningSql
- the value for therootTableInsertWithReturningSql
record componenttemporaryTableIdentityUpdate
- the value for thetemporaryTableIdentityUpdate
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. All components in this record class are compared withObjects::equals(Object,Object)
. -
temporaryTableIdentitySelect
Returns the value of thetemporaryTableIdentitySelect
record component.- Returns:
- the value of the
temporaryTableIdentitySelect
record component
-
temporaryTableIdUpdate
Returns the value of thetemporaryTableIdUpdate
record component.- Returns:
- the value of the
temporaryTableIdUpdate
record component
-
temporaryTableRowNumberSelectSql
Returns the value of thetemporaryTableRowNumberSelectSql
record component.- Returns:
- the value of the
temporaryTableRowNumberSelectSql
record component
-
rootTableInsert
Returns the value of therootTableInsert
record component.- Returns:
- the value of the
rootTableInsert
record component
-
rootTableInsertWithReturningSql
Returns the value of therootTableInsertWithReturningSql
record component.- Returns:
- the value of the
rootTableInsertWithReturningSql
record component
-
temporaryTableIdentityUpdate
Returns the value of thetemporaryTableIdentityUpdate
record component.- Returns:
- the value of the
temporaryTableIdentityUpdate
record component
-