Record Class PartitionUpdateAndMergeResults
java.lang.Object
java.lang.Record
io.trino.plugin.hive.PartitionUpdateAndMergeResults
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.airlift.json.JsonCodec<PartitionUpdateAndMergeResults> -
Constructor Summary
ConstructorsConstructorDescriptionPartitionUpdateAndMergeResults(PartitionUpdate partitionUpdate, long insertRowCount, Optional<String> deltaDirectory, long deleteRowCount, Optional<String> deleteDeltaDirectory) Creates an instance of aPartitionUpdateAndMergeResultsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedeleteDeltaDirectoryrecord component.longReturns the value of thedeleteRowCountrecord component.Returns the value of thedeltaDirectoryrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longReturns the value of theinsertRowCountrecord component.Returns the value of thepartitionUpdaterecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
CODEC
-
-
Constructor Details
-
PartitionUpdateAndMergeResults
public PartitionUpdateAndMergeResults(PartitionUpdate partitionUpdate, long insertRowCount, Optional<String> deltaDirectory, long deleteRowCount, Optional<String> deleteDeltaDirectory) Creates an instance of aPartitionUpdateAndMergeResultsrecord class.- Parameters:
partitionUpdate- the value for thepartitionUpdaterecord componentinsertRowCount- the value for theinsertRowCountrecord componentdeltaDirectory- the value for thedeltaDirectoryrecord componentdeleteRowCount- the value for thedeleteRowCountrecord componentdeleteDeltaDirectory- the value for thedeleteDeltaDirectoryrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
partitionUpdate
Returns the value of thepartitionUpdaterecord component.- Returns:
- the value of the
partitionUpdaterecord component
-
insertRowCount
public long insertRowCount()Returns the value of theinsertRowCountrecord component.- Returns:
- the value of the
insertRowCountrecord component
-
deltaDirectory
-
deleteRowCount
public long deleteRowCount()Returns the value of thedeleteRowCountrecord component.- Returns:
- the value of the
deleteRowCountrecord component
-
deleteDeltaDirectory
-