Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
public Mapper(java.lang.String simpleName)
public final java.lang.String simpleName()
Returns the simple name, which identifies this mapper against other mappers at the same level in the mappers hierarchy
TODO: make this protected once Mapper and FieldMapper are merged together
public abstract java.lang.String name()
Returns the canonical name which uniquely identifies the mapper against other mappers in a type.
public abstract Mapper merge(Mapper mergeWith,
Return the merge of mergeWith into this.
Both this and mergeWith will be left unmodified.
public abstract Mapper updateFieldType(java.util.Map<java.lang.String,MappedFieldType> fullNameToFieldType)
Update the field type of this mapper. This is necessary because some mapping updates
can modify mappings across several types. This method must return a copy of the mapper
so that the current mapper is not modified.