Package io.trino.sql.planner.plan
Record Class ApplyNode.QuantifiedComparison
java.lang.Object
java.lang.Record
io.trino.sql.planner.plan.ApplyNode.QuantifiedComparison
- All Implemented Interfaces:
ApplyNode.SetExpression
- Enclosing class:
ApplyNode
public static record ApplyNode.QuantifiedComparison(ApplyNode.Operator operator, ApplyNode.Quantifier quantifier, Symbol value, Symbol reference)
extends Record
implements ApplyNode.SetExpression
-
Constructor Summary
ConstructorsConstructorDescriptionQuantifiedComparison(ApplyNode.Operator operator, ApplyNode.Quantifier quantifier, Symbol value, Symbol reference) Creates an instance of aQuantifiedComparisonrecord 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.inputs()operator()Returns the value of theoperatorrecord component.Returns the value of thequantifierrecord component.Returns the value of thereferencerecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
QuantifiedComparison
public QuantifiedComparison(ApplyNode.Operator operator, ApplyNode.Quantifier quantifier, Symbol value, Symbol reference) Creates an instance of aQuantifiedComparisonrecord class.- Parameters:
operator- the value for theoperatorrecord componentquantifier- the value for thequantifierrecord componentvalue- the value for thevaluerecord componentreference- the value for thereferencerecord component
-
-
Method Details
-
inputs
- Specified by:
inputsin interfaceApplyNode.SetExpression
-
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). -
operator
Returns the value of theoperatorrecord component.- Returns:
- the value of the
operatorrecord component
-
quantifier
Returns the value of thequantifierrecord component.- Returns:
- the value of the
quantifierrecord component
-
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
reference
Returns the value of thereferencerecord component.- Returns:
- the value of the
referencerecord component
-