Record Class CollectionMutationPlanContributor.RowInsertContext

java.lang.Object
java.lang.Record
org.hibernate.action.queue.spi.decompose.collection.CollectionMutationPlanContributor.RowInsertContext
Record Components:
persister - The collection persister whose row is being inserted.
tableDescriptor - The physical table descriptor used by the row insert plan.
factory - The session factory.
jdbcOperations - The decomposer's JDBC operation bundle for this table shape.
collection - The persistent collection instance.
key - The collection key.
rowValue - The row value passed to the row insert bind plan.
rowPosition - The row position passed to the row insert bind plan.
ordinalBase - The graph ordinal base assigned to the enclosing action.
Enclosing interface:
CollectionMutationPlanContributor

public static record CollectionMutationPlanContributor.RowInsertContext(CollectionPersister persister, TableDescriptor tableDescriptor, SessionFactoryImplementor factory, CollectionJdbcOperations jdbcOperations, PersistentCollection<?> collection, Object key, Object rowValue, int rowPosition, int ordinalBase) extends Record
Since:
8.0
  • Constructor Details

  • 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      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.
    • persister

      public CollectionPersister persister()
      Returns the value of the persister record component.
      Returns:
      the value of the persister record component
    • tableDescriptor

      public TableDescriptor tableDescriptor()
      Returns the value of the tableDescriptor record component.
      Returns:
      the value of the tableDescriptor record component
    • factory

      public SessionFactoryImplementor factory()
      Returns the value of the factory record component.
      Returns:
      the value of the factory record component
    • jdbcOperations

      public CollectionJdbcOperations jdbcOperations()
      Returns the value of the jdbcOperations record component.
      Returns:
      the value of the jdbcOperations record component
    • collection

      public PersistentCollection<?> collection()
      Returns the value of the collection record component.
      Returns:
      the value of the collection record component
    • key

      public Object key()
      Returns the value of the key record component.
      Returns:
      the value of the key record component
    • rowValue

      public Object rowValue()
      Returns the value of the rowValue record component.
      Returns:
      the value of the rowValue record component
    • rowPosition

      public int rowPosition()
      Returns the value of the rowPosition record component.
      Returns:
      the value of the rowPosition record component
    • ordinalBase

      public int ordinalBase()
      Returns the value of the ordinalBase record component.
      Returns:
      the value of the ordinalBase record component