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 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 a TableInfo record class.
      Parameters:
      qualifiedTableName - the value for the qualifiedTableName record component
      tableAlias - the value for the tableAlias record component
      reverseColumnInfo - the value for the reverseColumnInfo record component
      qualifierColumnInfo - the value for the qualifierColumnInfo record component
      qualifierColumnType - the value for the qualifierColumnType record component
      idColumnName - the value for the idColumnName record component
      effectiveIdColumnName - the value for the effectiveIdColumnName record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • qualifiedTableName

      public SqlIdentifier qualifiedTableName()
      Returns the value of the qualifiedTableName record component.
      Returns:
      the value of the qualifiedTableName record component
    • tableAlias

      @Nullable public SqlIdentifier tableAlias()
      Returns the value of the tableAlias record component.
      Returns:
      the value of the tableAlias record component
    • reverseColumnInfo

      public AggregatePath.ColumnInfo reverseColumnInfo()
      Returns the value of the reverseColumnInfo record component.
      Returns:
      the value of the reverseColumnInfo record component
    • qualifierColumnInfo

      @Nullable public AggregatePath.ColumnInfo qualifierColumnInfo()
      Returns the value of the qualifierColumnInfo record component.
      Returns:
      the value of the qualifierColumnInfo record component
    • qualifierColumnType

      @Nullable public Class<?> qualifierColumnType()
      Returns the value of the qualifierColumnType record component.
      Returns:
      the value of the qualifierColumnType record component
    • idColumnName

      public SqlIdentifier idColumnName()
      Returns the value of the idColumnName record component.
      Returns:
      the value of the idColumnName record component
    • effectiveIdColumnName

      public SqlIdentifier effectiveIdColumnName()
      Returns the value of the effectiveIdColumnName record component.
      Returns:
      the value of the effectiveIdColumnName record component