Record Class AggregateArrayElementDescriptor
java.lang.Object
java.lang.Record
org.hibernate.dialect.aggregate.spi.AggregateArrayElementDescriptor
-
Constructor Summary
ConstructorsConstructorDescriptionAggregateArrayElementDescriptor(String typeName, int sqlTypeCode, int ddlTypeCode, int arrayLength) Creates an instance of aAggregateArrayElementDescriptorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thearrayLengthrecord component.intReturns the value of theddlTypeCoderecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thesqlTypeCoderecord component.final StringtoString()Returns a string representation of this record class.typeName()Returns the value of thetypeNamerecord component.
-
Constructor Details
-
AggregateArrayElementDescriptor
public AggregateArrayElementDescriptor(String typeName, int sqlTypeCode, int ddlTypeCode, int arrayLength) Creates an instance of aAggregateArrayElementDescriptorrecord class.- Parameters:
typeName- the value for thetypeNamerecord componentsqlTypeCode- the value for thesqlTypeCoderecord componentddlTypeCode- the value for theddlTypeCoderecord componentarrayLength- the value for thearrayLengthrecord 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. -
typeName
Returns the value of thetypeNamerecord component.- Returns:
- the value of the
typeNamerecord component
-
sqlTypeCode
public int sqlTypeCode()Returns the value of thesqlTypeCoderecord component.- Returns:
- the value of the
sqlTypeCoderecord component
-
ddlTypeCode
public int ddlTypeCode()Returns the value of theddlTypeCoderecord component.- Returns:
- the value of the
ddlTypeCoderecord component
-
arrayLength
public int arrayLength()Returns the value of thearrayLengthrecord component.- Returns:
- the value of the
arrayLengthrecord component
-