Class SplitCoalescer

java.lang.Object
org.elasticsearch.xpack.esql.datasources.SplitCoalescer

public final class SplitCoalescer extends Object
Groups many small ExternalSplits into CoalescedSplits to reduce scheduling overhead. Uses greedy bin-packing by size when all splits report a positive estimatedSizeInBytes(), and falls back to count-based grouping otherwise.