Record Class MergeHandle
java.lang.Object
java.lang.Record
io.trino.metadata.MergeHandle
public record MergeHandle(TableHandle tableHandle, ConnectorMergeTableHandle connectorMergeHandle)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionMergeHandle(TableHandle tableHandle, ConnectorMergeTableHandle connectorMergeHandle) Creates an instance of aMergeHandlerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconnectorMergeHandlerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thetableHandlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MergeHandle
Creates an instance of aMergeHandlerecord class.- Parameters:
tableHandle- the value for thetableHandlerecord componentconnectorMergeHandle- the value for theconnectorMergeHandlerecord 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). -
tableHandle
Returns the value of thetableHandlerecord component.- Returns:
- the value of the
tableHandlerecord component
-
connectorMergeHandle
Returns the value of theconnectorMergeHandlerecord component.- Returns:
- the value of the
connectorMergeHandlerecord component
-