Record Class AggregateCustomWriteRequest
java.lang.Object
java.lang.Record
org.hibernate.dialect.aggregate.spi.AggregateCustomWriteRequest
@SPI(USE)
public record AggregateCustomWriteRequest(AggregateColumnDescriptor aggregateColumn, List<AggregateColumnDescriptor> components, TypeConfiguration typeConfiguration)
extends Record
Supplies one call's aggregate custom-write facts.
- Since:
- 8.0
-
Constructor Summary
ConstructorsConstructorDescriptionAggregateCustomWriteRequest(AggregateColumnDescriptor aggregateColumn, List<AggregateColumnDescriptor> components, TypeConfiguration typeConfiguration) Creates an instance of aAggregateCustomWriteRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaggregateColumnrecord component.Returns the value of thecomponentsrecord 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
-
AggregateCustomWriteRequest
public AggregateCustomWriteRequest(AggregateColumnDescriptor aggregateColumn, List<AggregateColumnDescriptor> components, TypeConfiguration typeConfiguration) Creates an instance of aAggregateCustomWriteRequestrecord class.- Parameters:
aggregateColumn- the value for theaggregateColumnrecord componentcomponents- the value for thecomponentsrecord 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
-
components
Returns the value of thecomponentsrecord component.- Returns:
- the value of the
componentsrecord component
-
typeConfiguration
Returns the value of thetypeConfigurationrecord component.- Returns:
- the value of the
typeConfigurationrecord component
-