Record Class ColumnDescriptor

java.lang.Object
java.lang.Record
org.hibernate.action.queue.spi.meta.ColumnDescriptor
Record Components:
name - Column name from the mapping model.
selectionExpression - The SQL selection expression for this column.
tableName - Table name containing this column.
jdbcMapping - Details about the JDBC type of the column.
All Implemented Interfaces:
Serializable, SelectableMapping, SqlTypedMapping

@Incubating(since="8.0", group="action-queue") public record ColumnDescriptor(String name, String selectionExpression, String tableName, JdbcMapping jdbcMapping, String writeFragment, boolean isFormula, boolean nullable, boolean insertable, boolean updatable, boolean isPartitioned) extends Record implements SelectableMapping, Serializable

Immutable descriptor for a column involved in a mutation.

Extends existing ColumnDetails with additional mutation context.

Since:
8.0
See Also:
  • Constructor Details

    • ColumnDescriptor

      public ColumnDescriptor(String name, String selectionExpression, String tableName, JdbcMapping jdbcMapping, String writeFragment, boolean isFormula, boolean nullable, boolean insertable, boolean updatable, boolean isPartitioned)
      Creates an instance of a ColumnDescriptor record class.
      Parameters:
      name - the value for the name record component
      selectionExpression - the value for the selectionExpression record component
      tableName - the value for the tableName record component
      jdbcMapping - the value for the jdbcMapping record component
      writeFragment - the value for the writeFragment record component
      isFormula - the value for the isFormula record component
      nullable - the value for the nullable record component
      insertable - the value for the insertable record component
      updatable - the value for the updatable record component
      isPartitioned - the value for the isPartitioned record component
  • Method Details