Record Class LocalPhysicalOptimizerContext
java.lang.Object
java.lang.Record
org.elasticsearch.xpack.esql.optimizer.LocalPhysicalOptimizerContext
public record LocalPhysicalOptimizerContext(PlannerSettings plannerSettings, EsqlFlags flags, Configuration configuration, FoldContext foldCtx, SearchStats searchStats, FilterPushdownRegistry filterPushdownRegistry, FormatReaderRegistry formatReaderRegistry)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionLocalPhysicalOptimizerContext(PlannerSettings plannerSettings, EsqlFlags flags, Configuration configuration, FoldContext foldCtx, SearchStats searchStats) Convenience constructor without registries (for backward compatibility and tests).LocalPhysicalOptimizerContext(PlannerSettings plannerSettings, EsqlFlags flags, Configuration configuration, FoldContext foldCtx, SearchStats searchStats, FilterPushdownRegistry filterPushdownRegistry) Convenience constructor without format reader registry (for backward compatibility).LocalPhysicalOptimizerContext(PlannerSettings plannerSettings, EsqlFlags flags, Configuration configuration, FoldContext foldCtx, SearchStats searchStats, FilterPushdownRegistry filterPushdownRegistry, FormatReaderRegistry formatReaderRegistry) 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.Returns the value of thefilterPushdownRegistryrecord component.flags()Returns the value of theflagsrecord component.foldCtx()Returns the value of thefoldCtxrecord component.Returns the value of theformatReaderRegistryrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theplannerSettingsrecord component.Returns the value of thesearchStatsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LocalPhysicalOptimizerContext
public LocalPhysicalOptimizerContext(PlannerSettings plannerSettings, EsqlFlags flags, Configuration configuration, FoldContext foldCtx, SearchStats searchStats) Convenience constructor without registries (for backward compatibility and tests). -
LocalPhysicalOptimizerContext
public LocalPhysicalOptimizerContext(PlannerSettings plannerSettings, EsqlFlags flags, Configuration configuration, FoldContext foldCtx, SearchStats searchStats, FilterPushdownRegistry filterPushdownRegistry) Convenience constructor without format reader registry (for backward compatibility). -
LocalPhysicalOptimizerContext
public LocalPhysicalOptimizerContext(PlannerSettings plannerSettings, EsqlFlags flags, Configuration configuration, FoldContext foldCtx, SearchStats searchStats, FilterPushdownRegistry filterPushdownRegistry, FormatReaderRegistry formatReaderRegistry) Creates an instance of aLocalPhysicalOptimizerContextrecord class.- Parameters:
plannerSettings- the value for theplannerSettingsrecord componentflags- the value for theflagsrecord componentconfiguration- the value for theconfigurationrecord componentfoldCtx- the value for thefoldCtxrecord componentsearchStats- the value for thesearchStatsrecord componentfilterPushdownRegistry- the value for thefilterPushdownRegistryrecord componentformatReaderRegistry- the value for theformatReaderRegistryrecord 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). -
plannerSettings
Returns the value of theplannerSettingsrecord component.- Returns:
- the value of the
plannerSettingsrecord component
-
flags
Returns the value of theflagsrecord component.- Returns:
- the value of the
flagsrecord component
-
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
-
filterPushdownRegistry
Returns the value of thefilterPushdownRegistryrecord component.- Returns:
- the value of the
filterPushdownRegistryrecord component
-
formatReaderRegistry
Returns the value of theformatReaderRegistryrecord component.- Returns:
- the value of the
formatReaderRegistryrecord component
-