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
ConstructorsModifierConstructorDescriptionprotectedRootTableInserter(@Nullable JdbcOperationQuerySelect temporaryTableIdentitySelect, @Nullable JdbcOperationQueryMutation temporaryTableIdUpdate, @Nullable String temporaryTableRowNumberSelectSql, JdbcOperationQueryMutation rootTableInsert, @Nullable String rootTableInsertWithReturningSql, @Nullable JdbcOperationQueryMutation temporaryTableIdentityUpdate) Creates an instance of aRootTableInserterrecord 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 therootTableInsertrecord component.@Nullable StringReturns the value of therootTableInsertWithReturningSqlrecord component.@Nullable JdbcOperationQuerySelectReturns the value of thetemporaryTableIdentitySelectrecord component.@Nullable JdbcOperationQueryMutationReturns the value of thetemporaryTableIdentityUpdaterecord component.@Nullable JdbcOperationQueryMutationReturns the value of thetemporaryTableIdUpdaterecord component.@Nullable StringReturns the value of thetemporaryTableRowNumberSelectSqlrecord component.final StringtoString()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 aRootTableInserterrecord class.- Parameters:
temporaryTableIdentitySelect- the value for thetemporaryTableIdentitySelectrecord componenttemporaryTableIdUpdate- the value for thetemporaryTableIdUpdaterecord componenttemporaryTableRowNumberSelectSql- the value for thetemporaryTableRowNumberSelectSqlrecord componentrootTableInsert- the value for therootTableInsertrecord componentrootTableInsertWithReturningSql- the value for therootTableInsertWithReturningSqlrecord componenttemporaryTableIdentityUpdate- the value for thetemporaryTableIdentityUpdaterecord 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 thetemporaryTableIdentitySelectrecord component.- Returns:
- the value of the
temporaryTableIdentitySelectrecord component
-
temporaryTableIdUpdate
Returns the value of thetemporaryTableIdUpdaterecord component.- Returns:
- the value of the
temporaryTableIdUpdaterecord component
-
temporaryTableRowNumberSelectSql
Returns the value of thetemporaryTableRowNumberSelectSqlrecord component.- Returns:
- the value of the
temporaryTableRowNumberSelectSqlrecord component
-
rootTableInsert
Returns the value of therootTableInsertrecord component.- Returns:
- the value of the
rootTableInsertrecord component
-
rootTableInsertWithReturningSql
Returns the value of therootTableInsertWithReturningSqlrecord component.- Returns:
- the value of the
rootTableInsertWithReturningSqlrecord component
-
temporaryTableIdentityUpdate
Returns the value of thetemporaryTableIdentityUpdaterecord component.- Returns:
- the value of the
temporaryTableIdentityUpdaterecord component
-