Record Class SemiTransactionalHiveMetastore.PartitionUpdateInfo

java.lang.Object
java.lang.Record
io.trino.plugin.hive.metastore.SemiTransactionalHiveMetastore.PartitionUpdateInfo
Enclosing class:
SemiTransactionalHiveMetastore

public static record SemiTransactionalHiveMetastore.PartitionUpdateInfo(List<String> partitionValues, Location currentLocation, List<String> fileNames, PartitionStatistics statisticsUpdate) extends Record
  • Constructor Details

    • PartitionUpdateInfo

      public PartitionUpdateInfo(List<String> partitionValues, Location currentLocation, List<String> fileNames, PartitionStatistics statisticsUpdate)
      Creates an instance of a PartitionUpdateInfo record class.
      Parameters:
      partitionValues - the value for the partitionValues record component
      currentLocation - the value for the currentLocation record component
      fileNames - the value for the fileNames record component
      statisticsUpdate - the value for the statisticsUpdate 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.
    • partitionValues

      public List<String> partitionValues()
      Returns the value of the partitionValues record component.
      Returns:
      the value of the partitionValues record component
    • currentLocation

      public Location currentLocation()
      Returns the value of the currentLocation record component.
      Returns:
      the value of the currentLocation record component
    • fileNames

      public List<String> fileNames()
      Returns the value of the fileNames record component.
      Returns:
      the value of the fileNames record component
    • statisticsUpdate

      public PartitionStatistics statisticsUpdate()
      Returns the value of the statisticsUpdate record component.
      Returns:
      the value of the statisticsUpdate record component