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
-
hashCode
-
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
-
currentLocation
Returns the value of thecurrentLocationrecord component.- Returns:
- the value of the
currentLocationrecord component
-
fileNames
-
statisticsUpdate
Returns the value of thestatisticsUpdaterecord component.- Returns:
- the value of the
statisticsUpdaterecord component
-