Class MultiTypeEsField

java.lang.Object
org.elasticsearch.xpack.esql.core.type.EsField
org.elasticsearch.xpack.esql.core.type.MultiTypeEsField
All Implemented Interfaces:
Writeable

public class MultiTypeEsField extends EsField
During IndexResolution it could occur that the same field is mapped to different types in different indices. The class MultiTypeEfField.UnresolvedField holds that information and allows for later resolution of the field to a single type during LogicalPlanOptimization. If the plan contains conversion expressions for the different types, the resolution will be done using the conversion expressions, in which case a MultiTypeEsField will be created to encapsulate the type resolution capabilities. This class can be communicated to the data nodes and used during physical planning to influence field extraction so that type conversion is done at the data node level.