Package io.trino.plugin.hive.metastore
Record Class SemiTransactionalHiveMetastore.PartitionUpdateInfo
java.lang.Object
java.lang.Record
io.trino.plugin.hive.metastore.SemiTransactionalHiveMetastore.PartitionUpdateInfo
- Enclosing class:
- SemiTransactionalHiveMetastore
-
Constructor Summary
ConstructorsConstructorDescriptionPartitionUpdateInfo(List<String> partitionValues, Location currentLocation, List<String> fileNames, PartitionStatistics statisticsUpdate) Creates an instance of aPartitionUpdateInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecurrentLocationrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefileNamesrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thepartitionValuesrecord component.Returns the value of thestatisticsUpdaterecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PartitionUpdateInfo
public PartitionUpdateInfo(List<String> partitionValues, Location currentLocation, List<String> fileNames, PartitionStatistics statisticsUpdate) Creates an instance of aPartitionUpdateInforecord class.- Parameters:
partitionValues- the value for thepartitionValuesrecord componentcurrentLocation- the value for thecurrentLocationrecord componentfileNames- the value for thefileNamesrecord componentstatisticsUpdate- the value for thestatisticsUpdaterecord 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). -
partitionValues
Returns the value of thepartitionValuesrecord component.- Returns:
- the value of the
partitionValuesrecord component
-
currentLocation
Returns the value of thecurrentLocationrecord component.- Returns:
- the value of the
currentLocationrecord component
-
fileNames
Returns the value of thefileNamesrecord component.- Returns:
- the value of the
fileNamesrecord component
-
statisticsUpdate
Returns the value of thestatisticsUpdaterecord component.- Returns:
- the value of the
statisticsUpdaterecord component
-