Package org.elasticsearch.xpack.esql.plugin
package org.elasticsearch.xpack.esql.plugin
-
ClassDescriptionAdaptive distribution strategy for external sources.Once query is parsed and validated it is scheduled for execution by
org.elasticsearch.xpack.esql.plugin.ComputeService#executeThis method is responsible for splitting physical plan into coordinator and data node plans.Always executes external sources on the coordinator — no distribution.NodeFeatures declared by ESQL.Class holding all the flags that can be used to change behavior for certain features in ESQL.Request to gather usage statisticsContext provided to anExternalDistributionStrategyso it can decide how (or whether) to distribute external-source splits across data nodes.The result of anExternalDistributionStrategydecision: whether to distribute and, if so, which splits go to which node.Decides whether an external source query should be distributed across data nodes or executed locally on the coordinator.This class ispublicfor testing.Determines which nodes are eligible to execute external-source splits.Holds the pragmas for an ESQL query.This class ispublicfor testing.Distributes external splits evenly across eligible data nodes in round-robin order.This action will stop running async request and collect the results.Performs the stats operation.Distributes external splits across data nodes using a Longest Processing Time (LPT) algorithm that considersExternalSplit.estimatedSizeInBytes()for load balancing.