Module spring.data.relational
Record Class AggregatePath.TableInfo
java.lang.Object
java.lang.Record
org.springframework.data.relational.core.mapping.AggregatePath.TableInfo
- Enclosing interface:
- AggregatePath
public static record AggregatePath.TableInfo(SqlIdentifier qualifiedTableName, SqlIdentifier tableAlias, AggregatePath.ColumnInfo reverseColumnInfo, AggregatePath.ColumnInfo qualifierColumnInfo, Class<?> qualifierColumnType, SqlIdentifier idColumnName, SqlIdentifier effectiveIdColumnName)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionTableInfo(SqlIdentifier qualifiedTableName, SqlIdentifier tableAlias, AggregatePath.ColumnInfo reverseColumnInfo, AggregatePath.ColumnInfo qualifierColumnInfo, Class<?> qualifierColumnType, SqlIdentifier idColumnName, SqlIdentifier effectiveIdColumnName) Creates an instance of aTableInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theeffectiveIdColumnNamerecord 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 theidColumnNamerecord component.Returns the value of thequalifiedTableNamerecord component.Returns the value of thequalifierColumnInforecord component.Class<?>Returns the value of thequalifierColumnTyperecord component.Returns the value of thereverseColumnInforecord component.Returns the value of thetableAliasrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TableInfo
public TableInfo(SqlIdentifier qualifiedTableName, @Nullable SqlIdentifier tableAlias, AggregatePath.ColumnInfo reverseColumnInfo, @Nullable AggregatePath.ColumnInfo qualifierColumnInfo, @Nullable Class<?> qualifierColumnType, SqlIdentifier idColumnName, SqlIdentifier effectiveIdColumnName) Creates an instance of aTableInforecord class.- Parameters:
qualifiedTableName- the value for thequalifiedTableNamerecord componenttableAlias- the value for thetableAliasrecord componentreverseColumnInfo- the value for thereverseColumnInforecord componentqualifierColumnInfo- the value for thequalifierColumnInforecord componentqualifierColumnType- the value for thequalifierColumnTyperecord componentidColumnName- the value for theidColumnNamerecord componenteffectiveIdColumnName- the value for theeffectiveIdColumnNamerecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
qualifiedTableName
Returns the value of thequalifiedTableNamerecord component.- Returns:
- the value of the
qualifiedTableNamerecord component
-
tableAlias
Returns the value of thetableAliasrecord component.- Returns:
- the value of the
tableAliasrecord component
-
reverseColumnInfo
Returns the value of thereverseColumnInforecord component.- Returns:
- the value of the
reverseColumnInforecord component
-
qualifierColumnInfo
Returns the value of thequalifierColumnInforecord component.- Returns:
- the value of the
qualifierColumnInforecord component
-
qualifierColumnType
Returns the value of thequalifierColumnTyperecord component.- Returns:
- the value of the
qualifierColumnTyperecord component
-
idColumnName
Returns the value of theidColumnNamerecord component.- Returns:
- the value of the
idColumnNamerecord component
-
effectiveIdColumnName
Returns the value of theeffectiveIdColumnNamerecord component.- Returns:
- the value of the
effectiveIdColumnNamerecord component
-