Package io.trino.operator.function
Record Class RegularTableFunctionPartition.PassThroughColumnSpecification
java.lang.Object
java.lang.Record
io.trino.operator.function.RegularTableFunctionPartition.PassThroughColumnSpecification
- Enclosing class:
RegularTableFunctionPartition
public static record RegularTableFunctionPartition.PassThroughColumnSpecification(boolean isPartitioningColumn, int inputChannel, int indexChannel)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionPassThroughColumnSpecification(boolean isPartitioningColumn, int inputChannel, int indexChannel) Creates an instance of aPassThroughColumnSpecificationrecord 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.intReturns the value of theindexChannelrecord component.intReturns the value of theinputChannelrecord component.booleanReturns the value of theisPartitioningColumnrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PassThroughColumnSpecification
public PassThroughColumnSpecification(boolean isPartitioningColumn, int inputChannel, int indexChannel) Creates an instance of aPassThroughColumnSpecificationrecord class.- Parameters:
isPartitioningColumn- the value for theisPartitioningColumnrecord componentinputChannel- the value for theinputChannelrecord componentindexChannel- the value for theindexChannelrecord 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 with '=='. -
isPartitioningColumn
public boolean isPartitioningColumn()Returns the value of theisPartitioningColumnrecord component.- Returns:
- the value of the
isPartitioningColumnrecord component
-
inputChannel
public int inputChannel()Returns the value of theinputChannelrecord component.- Returns:
- the value of the
inputChannelrecord component
-
indexChannel
public int indexChannel()Returns the value of theindexChannelrecord component.- Returns:
- the value of the
indexChannelrecord component
-