Class ColumnMapping

java.lang.Object
org.elasticsearch.xpack.esql.datasources.ColumnMapping
All Implemented Interfaces:
Writeable

public final class ColumnMapping extends Object implements Writeable
Per-file value describing how this file's blocks become the query's output blocks: for each output column, the source position in the file's natural-order page (or -1 when the file lacks that column), and the cast (if any) the coordinator chose during reconciliation. Built by SchemaReconciliation; consumed by SchemaAdaptingIterator (page mapping) and AsyncExternalSourceOperatorFactory (pushed-filter mapping).

For the four-schema model (File / Unified / Query / Per-file query) this bridges, see the class Javadoc on SchemaReconciliation.