Record Class AggregatePath.ColumnInfo
java.lang.Object
java.lang.Record
org.springframework.data.relational.core.mapping.AggregatePath.ColumnInfo
- Record Components:
name- the name of the column used to represent this property in the database.alias- the alias for the column used to represent this property in the database.
- Enclosing interface:
AggregatePath
public static record AggregatePath.ColumnInfo(SqlIdentifier name, SqlIdentifier alias)
extends Record
- Since:
- 3.2
- Author:
- Jens Schauder, Mark Paluch
-
Constructor Summary
ConstructorsConstructorDescriptionColumnInfo(SqlIdentifier name, SqlIdentifier alias) Creates an instance of aColumnInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionalias()Returns the value of thealiasrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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). -
name
-
alias
-