Record Class AggregateWriteRendererRequest
java.lang.Object
java.lang.Record
org.hibernate.dialect.aggregate.spi.AggregateWriteRendererRequest
@SPI(USE)
public record AggregateWriteRendererRequest(SelectableMapping aggregateColumn, List<SelectableMapping> columnsToUpdate, TypeConfiguration typeConfiguration)
extends Record
Supplies one call's aggregate write-renderer mappings.
- Since:
- 8.0
-
Constructor Summary
ConstructorsConstructorDescriptionAggregateWriteRendererRequest(SelectableMapping aggregateColumn, List<SelectableMapping> columnsToUpdate, TypeConfiguration typeConfiguration) Creates an instance of aAggregateWriteRendererRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaggregateColumnrecord component.Returns the value of thecolumnsToUpdaterecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Returns the value of thetypeConfigurationrecord component.
-
Constructor Details
-
AggregateWriteRendererRequest
public AggregateWriteRendererRequest(SelectableMapping aggregateColumn, List<SelectableMapping> columnsToUpdate, TypeConfiguration typeConfiguration) Creates an instance of aAggregateWriteRendererRequestrecord class.- Parameters:
aggregateColumn- the value for theaggregateColumnrecord componentcolumnsToUpdate- the value for thecolumnsToUpdaterecord componenttypeConfiguration- the value for thetypeConfigurationrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
aggregateColumn
Returns the value of theaggregateColumnrecord component.- Returns:
- the value of the
aggregateColumnrecord component
-
columnsToUpdate
Returns the value of thecolumnsToUpdaterecord component.- Returns:
- the value of the
columnsToUpdaterecord component
-
typeConfiguration
Returns the value of thetypeConfigurationrecord component.- Returns:
- the value of the
typeConfigurationrecord component
-