Record Class LocalPhysicalOptimizerContext
java.lang.Object
java.lang.Record
org.elasticsearch.xpack.esql.optimizer.LocalPhysicalOptimizerContext
public record LocalPhysicalOptimizerContext(Configuration configuration, FoldContext foldCtx, SearchStats searchStats)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionLocalPhysicalOptimizerContext(Configuration configuration, FoldContext foldCtx, SearchStats searchStats) Creates an instance of aLocalPhysicalOptimizerContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconfigurationrecord component.final booleanIndicates whether some other object is "equal to" this one.foldCtx()Returns the value of thefoldCtxrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thesearchStatsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LocalPhysicalOptimizerContext
public LocalPhysicalOptimizerContext(Configuration configuration, FoldContext foldCtx, SearchStats searchStats) Creates an instance of aLocalPhysicalOptimizerContextrecord class.- Parameters:
configuration- the value for theconfigurationrecord componentfoldCtx- the value for thefoldCtxrecord componentsearchStats- the value for thesearchStatsrecord 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). -
configuration
Returns the value of theconfigurationrecord component.- Returns:
- the value of the
configurationrecord component
-
foldCtx
Returns the value of thefoldCtxrecord component.- Returns:
- the value of the
foldCtxrecord component
-
searchStats
Returns the value of thesearchStatsrecord component.- Returns:
- the value of the
searchStatsrecord component
-