Record Class AdaptivePlanOptimizer.Result
java.lang.Object
java.lang.Record
io.trino.sql.planner.optimizations.AdaptivePlanOptimizer.Result
- Enclosing interface:
AdaptivePlanOptimizer
public static record AdaptivePlanOptimizer.Result(PlanNode plan, Set<PlanNodeId> changedPlanNodes)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionResult(PlanNode plan, Set<PlanNodeId> changedPlanNodes) Creates an instance of aResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thechangedPlanNodesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.plan()Returns the value of theplanrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Result
Creates an instance of aResultrecord class.- Parameters:
plan- the value for theplanrecord componentchangedPlanNodes- the value for thechangedPlanNodesrecord 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). -
plan
Returns the value of theplanrecord component.- Returns:
- the value of the
planrecord component
-
changedPlanNodes
Returns the value of thechangedPlanNodesrecord component.- Returns:
- the value of the
changedPlanNodesrecord component
-