Record Class AggregateComponentReadRequest
java.lang.Object
java.lang.Record
org.hibernate.dialect.aggregate.spi.AggregateComponentReadRequest
@SPI(USE)
public record AggregateComponentReadRequest(String template, String placeholder, String aggregateParentReadExpression, String columnExpression, int aggregateColumnTypeCode, SqlTypedMapping column, TypeConfiguration typeConfiguration)
extends Record
Supplies one call's aggregate-component read-expression facts.
- Since:
- 8.0
-
Constructor Summary
ConstructorsConstructorDescriptionAggregateComponentReadRequest(String template, String placeholder, String aggregateParentReadExpression, String columnExpression, int aggregateColumnTypeCode, SqlTypedMapping column, TypeConfiguration typeConfiguration) Creates an instance of aAggregateComponentReadRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theaggregateColumnTypeCoderecord component.Returns the value of theaggregateParentReadExpressionrecord component.column()Returns the value of thecolumnrecord component.Returns the value of thecolumnExpressionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theplaceholderrecord component.template()Returns the value of thetemplaterecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetypeConfigurationrecord component.
-
Constructor Details
-
AggregateComponentReadRequest
public AggregateComponentReadRequest(String template, String placeholder, String aggregateParentReadExpression, String columnExpression, int aggregateColumnTypeCode, SqlTypedMapping column, TypeConfiguration typeConfiguration) Creates an instance of aAggregateComponentReadRequestrecord class.- Parameters:
template- the value for thetemplaterecord componentplaceholder- the value for theplaceholderrecord componentaggregateParentReadExpression- the value for theaggregateParentReadExpressionrecord componentcolumnExpression- the value for thecolumnExpressionrecord componentaggregateColumnTypeCode- the value for theaggregateColumnTypeCoderecord componentcolumn- the value for thecolumnrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
template
Returns the value of thetemplaterecord component.- Returns:
- the value of the
templaterecord component
-
placeholder
Returns the value of theplaceholderrecord component.- Returns:
- the value of the
placeholderrecord component
-
aggregateParentReadExpression
Returns the value of theaggregateParentReadExpressionrecord component.- Returns:
- the value of the
aggregateParentReadExpressionrecord component
-
columnExpression
Returns the value of thecolumnExpressionrecord component.- Returns:
- the value of the
columnExpressionrecord component
-
aggregateColumnTypeCode
public int aggregateColumnTypeCode()Returns the value of theaggregateColumnTypeCoderecord component.- Returns:
- the value of the
aggregateColumnTypeCoderecord component
-
column
Returns the value of thecolumnrecord component.- Returns:
- the value of the
columnrecord component
-
typeConfiguration
Returns the value of thetypeConfigurationrecord component.- Returns:
- the value of the
typeConfigurationrecord component
-