Class MultiTypeEsField

All Implemented Interfaces:
Writeable

public final class MultiTypeEsField extends UnionTypeEsField

N.B.: This class exists only as a backward-compatible version of CompactMultiTypeEsField.

During IndexResolution it can occur that the same field is mapped to different types in different indices. An InvalidMappedField holds that information and allows for later resolution of the field to a single type in ResolveUnionTypes. If the plan contains a converted field attribute with mapping conflict, like EVAL x = x::long, this conversion is fused into the FieldAttribute and represented by an instance of this class instead of the InvalidMappedField. This class is sent to the data nodes to inform them that they have to convert the type directly during field extraction.