Package io.trino.plugin.phoenix5
Record Class PhoenixMergeTableHandle
java.lang.Object
java.lang.Record
io.trino.plugin.phoenix5.PhoenixMergeTableHandle
- All Implemented Interfaces:
ConnectorMergeTableHandle
public record PhoenixMergeTableHandle(JdbcTableHandle tableHandle, PhoenixOutputTableHandle phoenixOutputTableHandle, JdbcColumnHandle mergeRowIdColumnHandle)
extends Record
implements ConnectorMergeTableHandle
-
Constructor Summary
ConstructorsConstructorDescriptionPhoenixMergeTableHandle(JdbcTableHandle tableHandle, PhoenixOutputTableHandle phoenixOutputTableHandle, JdbcColumnHandle mergeRowIdColumnHandle) Creates an instance of aPhoenixMergeTableHandlerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themergeRowIdColumnHandlerecord component.Returns the value of thephoenixOutputTableHandlerecord component.Returns the value of thetableHandlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PhoenixMergeTableHandle
public PhoenixMergeTableHandle(JdbcTableHandle tableHandle, PhoenixOutputTableHandle phoenixOutputTableHandle, JdbcColumnHandle mergeRowIdColumnHandle) Creates an instance of aPhoenixMergeTableHandlerecord class.- Parameters:
tableHandle- the value for thetableHandlerecord componentphoenixOutputTableHandle- the value for thephoenixOutputTableHandlerecord componentmergeRowIdColumnHandle- the value for themergeRowIdColumnHandlerecord component
-
-
Method Details
-
getTableHandle
- Specified by:
getTableHandlein interfaceConnectorMergeTableHandle
-
phoenixOutputTableHandle
Returns the value of thephoenixOutputTableHandlerecord component.- Returns:
- the value of the
phoenixOutputTableHandlerecord component
-
mergeRowIdColumnHandle
Returns the value of themergeRowIdColumnHandlerecord component.- Returns:
- the value of the
mergeRowIdColumnHandlerecord component
-
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). -
tableHandle
Returns the value of thetableHandlerecord component.- Returns:
- the value of the
tableHandlerecord component
-