Record Class PlannerUtils.LocalPlanResult
java.lang.Object
java.lang.Record
org.elasticsearch.xpack.esql.planner.PlannerUtils.LocalPlanResult
- Enclosing class:
PlannerUtils
public static record PlannerUtils.LocalPlanResult(PhysicalPlan physicalPlan, String logicalPlanString)
extends Record
Result of local plan optimization containing both physical and logical plans.
-
Constructor Summary
ConstructorsConstructorDescriptionLocalPlanResult(PhysicalPlan physicalPlan, String logicalPlanString) Creates an instance of aLocalPlanResultrecord 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 thelogicalPlanStringrecord component.Returns the value of thephysicalPlanrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LocalPlanResult
Creates an instance of aLocalPlanResultrecord class.- Parameters:
physicalPlan- the value for thephysicalPlanrecord componentlogicalPlanString- the value for thelogicalPlanStringrecord 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 withObjects::equals(Object,Object). -
physicalPlan
Returns the value of thephysicalPlanrecord component.- Returns:
- the value of the
physicalPlanrecord component
-
logicalPlanString
Returns the value of thelogicalPlanStringrecord component.- Returns:
- the value of the
logicalPlanStringrecord component
-