Record Class AggregateAuxiliaryObjectRequest

java.lang.Object
java.lang.Record
org.hibernate.dialect.aggregate.spi.AggregateAuxiliaryObjectRequest

@SPI(USE) public record AggregateAuxiliaryObjectRequest(String aggregatePath, AggregateColumnDescriptor aggregateColumn, List<AggregateColumnDescriptor> components, TypeConfiguration typeConfiguration, boolean legacyXmlFormat) extends Record
Supplies aggregate auxiliary-object facts without exposing a namespace.
Since:
8.0
  • Constructor Details

    • AggregateAuxiliaryObjectRequest

      public AggregateAuxiliaryObjectRequest(String aggregatePath, AggregateColumnDescriptor aggregateColumn, List<AggregateColumnDescriptor> components, TypeConfiguration typeConfiguration, boolean legacyXmlFormat)
      Creates an instance of a AggregateAuxiliaryObjectRequest record class.
      Parameters:
      aggregatePath - the value for the aggregatePath record component
      aggregateColumn - the value for the aggregateColumn record component
      components - the value for the components record component
      typeConfiguration - the value for the typeConfiguration record component
      legacyXmlFormat - the value for the legacyXmlFormat 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      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.
    • aggregatePath

      public String aggregatePath()
      Returns the value of the aggregatePath record component.
      Returns:
      the value of the aggregatePath record component
    • aggregateColumn

      public AggregateColumnDescriptor aggregateColumn()
      Returns the value of the aggregateColumn record component.
      Returns:
      the value of the aggregateColumn record component
    • components

      public List<AggregateColumnDescriptor> components()
      Returns the value of the components record component.
      Returns:
      the value of the components record component
    • typeConfiguration

      public TypeConfiguration typeConfiguration()
      Returns the value of the typeConfiguration record component.
      Returns:
      the value of the typeConfiguration record component
    • legacyXmlFormat

      public boolean legacyXmlFormat()
      Returns the value of the legacyXmlFormat record component.
      Returns:
      the value of the legacyXmlFormat record component