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 aTableInfo
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theeffectiveIdColumnName
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of theidColumnName
record component.Returns the value of thequalifiedTableName
record component.Returns the value of thequalifierColumnInfo
record component.Class<?>
Returns the value of thequalifierColumnType
record component.Returns the value of thereverseColumnInfo
record component.Returns the value of thetableAlias
record component.final String
toString()
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 aTableInfo
record class.- Parameters:
qualifiedTableName
- the value for thequalifiedTableName
record componenttableAlias
- the value for thetableAlias
record componentreverseColumnInfo
- the value for thereverseColumnInfo
record componentqualifierColumnInfo
- the value for thequalifierColumnInfo
record componentqualifierColumnType
- the value for thequalifierColumnType
record componentidColumnName
- the value for theidColumnName
record componenteffectiveIdColumnName
- the value for theeffectiveIdColumnName
record 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 thequalifiedTableName
record component.- Returns:
- the value of the
qualifiedTableName
record component
-
tableAlias
Returns the value of thetableAlias
record component.- Returns:
- the value of the
tableAlias
record component
-
reverseColumnInfo
Returns the value of thereverseColumnInfo
record component.- Returns:
- the value of the
reverseColumnInfo
record component
-
qualifierColumnInfo
Returns the value of thequalifierColumnInfo
record component.- Returns:
- the value of the
qualifierColumnInfo
record component
-
qualifierColumnType
Returns the value of thequalifierColumnType
record component.- Returns:
- the value of the
qualifierColumnType
record component
-
idColumnName
Returns the value of theidColumnName
record component.- Returns:
- the value of the
idColumnName
record component
-
effectiveIdColumnName
Returns the value of theeffectiveIdColumnName
record component.- Returns:
- the value of the
effectiveIdColumnName
record component
-