Package io.trino.sql.planner.rowpattern
Record Class ExpressionAndValuePointers.Assignment
java.lang.Object
java.lang.Record
io.trino.sql.planner.rowpattern.ExpressionAndValuePointers.Assignment
- Enclosing class:
ExpressionAndValuePointers
public static record ExpressionAndValuePointers.Assignment(Symbol symbol, ValuePointer valuePointer)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionAssignment(Symbol symbol, ValuePointer valuePointer) Creates an instance of aAssignmentrecord 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.symbol()Returns the value of thesymbolrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevaluePointerrecord component.
-
Constructor Details
-
Assignment
Creates an instance of aAssignmentrecord class.- Parameters:
symbol- the value for thesymbolrecord componentvaluePointer- the value for thevaluePointerrecord 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). -
symbol
Returns the value of thesymbolrecord component.- Returns:
- the value of the
symbolrecord component
-
valuePointer
Returns the value of thevaluePointerrecord component.- Returns:
- the value of the
valuePointerrecord component
-