Class AdaptiveStrategy

java.lang.Object
org.elasticsearch.xpack.esql.plugin.AdaptiveStrategy
All Implemented Interfaces:
ExternalDistributionStrategy

public final class AdaptiveStrategy extends Object implements ExternalDistributionStrategy
Adaptive distribution strategy for external sources.

Distributes when the plan contains pipeline breakers (aggregations, TopN) and there are multiple splits, or when the split count exceeds the number of eligible nodes. Stays on the coordinator for single splits or LIMIT-only plans.