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 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 a RootTableInserter record class.
      Parameters:
      temporaryTableIdentitySelect - the value for the temporaryTableIdentitySelect record component
      temporaryTableIdUpdate - the value for the temporaryTableIdUpdate record component
      temporaryTableRowNumberSelectSql - the value for the temporaryTableRowNumberSelectSql record component
      rootTableInsert - the value for the rootTableInsert record component
      rootTableInsertWithReturningSql - the value for the rootTableInsertWithReturningSql record component
      temporaryTableIdentityUpdate - the value for the temporaryTableIdentityUpdate record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • temporaryTableIdentitySelect

      public @Nullable JdbcOperationQuerySelect temporaryTableIdentitySelect()
      Returns the value of the temporaryTableIdentitySelect record component.
      Returns:
      the value of the temporaryTableIdentitySelect record component
    • temporaryTableIdUpdate

      public @Nullable JdbcOperationQueryMutation temporaryTableIdUpdate()
      Returns the value of the temporaryTableIdUpdate record component.
      Returns:
      the value of the temporaryTableIdUpdate record component
    • temporaryTableRowNumberSelectSql

      public @Nullable String temporaryTableRowNumberSelectSql()
      Returns the value of the temporaryTableRowNumberSelectSql record component.
      Returns:
      the value of the temporaryTableRowNumberSelectSql record component
    • rootTableInsert

      public JdbcOperationQueryMutation rootTableInsert()
      Returns the value of the rootTableInsert record component.
      Returns:
      the value of the rootTableInsert record component
    • rootTableInsertWithReturningSql

      public @Nullable String rootTableInsertWithReturningSql()
      Returns the value of the rootTableInsertWithReturningSql record component.
      Returns:
      the value of the rootTableInsertWithReturningSql record component
    • temporaryTableIdentityUpdate

      public @Nullable JdbcOperationQueryMutation temporaryTableIdentityUpdate()
      Returns the value of the temporaryTableIdentityUpdate record component.
      Returns:
      the value of the temporaryTableIdentityUpdate record component