Record Class LocalExecutionPlanner.LocalExecutionPlannerContext
java.lang.Object
java.lang.Record
org.elasticsearch.xpack.esql.planner.LocalExecutionPlanner.LocalExecutionPlannerContext
- Enclosing class:
LocalExecutionPlanner
public static record LocalExecutionPlanner.LocalExecutionPlannerContext(List<org.elasticsearch.xpack.esql.planner.LocalExecutionPlanner.DriverFactory> driverFactories, Holder<org.elasticsearch.xpack.esql.planner.LocalExecutionPlanner.DriverParallelism> driverParallelism, QueryPragmas queryPragmas, BigArrays bigArrays, BlockFactory blockFactory, FoldContext foldCtx, Settings settings)
extends Record
Context object used while generating a local plan. Currently only collects the driver factories as well as
maintains information how many driver instances should be created for a given driver.
-
Constructor Summary
ConstructorsConstructorDescriptionLocalExecutionPlannerContext(List<org.elasticsearch.xpack.esql.planner.LocalExecutionPlanner.DriverFactory> driverFactories, Holder<org.elasticsearch.xpack.esql.planner.LocalExecutionPlanner.DriverParallelism> driverParallelism, QueryPragmas queryPragmas, BigArrays bigArrays, BlockFactory blockFactory, FoldContext foldCtx, Settings settings) Creates an instance of aLocalExecutionPlannerContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebigArraysrecord component.Returns the value of theblockFactoryrecord component.List<org.elasticsearch.xpack.esql.planner.LocalExecutionPlanner.DriverFactory> Returns the value of thedriverFactoriesrecord component.Holder<org.elasticsearch.xpack.esql.planner.LocalExecutionPlanner.DriverParallelism> Returns the value of thedriverParallelismrecord 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 thequeryPragmasrecord component.settings()Returns the value of thesettingsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LocalExecutionPlannerContext
public LocalExecutionPlannerContext(List<org.elasticsearch.xpack.esql.planner.LocalExecutionPlanner.DriverFactory> driverFactories, Holder<org.elasticsearch.xpack.esql.planner.LocalExecutionPlanner.DriverParallelism> driverParallelism, QueryPragmas queryPragmas, BigArrays bigArrays, BlockFactory blockFactory, FoldContext foldCtx, Settings settings) Creates an instance of aLocalExecutionPlannerContextrecord class.- Parameters:
driverFactories- the value for thedriverFactoriesrecord componentdriverParallelism- the value for thedriverParallelismrecord componentqueryPragmas- the value for thequeryPragmasrecord componentbigArrays- the value for thebigArraysrecord componentblockFactory- the value for theblockFactoryrecord componentfoldCtx- the value for thefoldCtxrecord componentsettings- the value for thesettingsrecord 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). -
driverFactories
public List<org.elasticsearch.xpack.esql.planner.LocalExecutionPlanner.DriverFactory> driverFactories()Returns the value of thedriverFactoriesrecord component.- Returns:
- the value of the
driverFactoriesrecord component
-
driverParallelism
public Holder<org.elasticsearch.xpack.esql.planner.LocalExecutionPlanner.DriverParallelism> driverParallelism()Returns the value of thedriverParallelismrecord component.- Returns:
- the value of the
driverParallelismrecord component
-
queryPragmas
Returns the value of thequeryPragmasrecord component.- Returns:
- the value of the
queryPragmasrecord component
-
bigArrays
Returns the value of thebigArraysrecord component.- Returns:
- the value of the
bigArraysrecord component
-
blockFactory
Returns the value of theblockFactoryrecord component.- Returns:
- the value of the
blockFactoryrecord component
-
foldCtx
Returns the value of thefoldCtxrecord component.- Returns:
- the value of the
foldCtxrecord component
-
settings
Returns the value of thesettingsrecord component.- Returns:
- the value of the
settingsrecord component
-