public abstract class MetadataFieldMapper extends FieldMapper
Modifier and Type | Class and Description |
---|---|
static class |
MetadataFieldMapper.Builder<T extends MetadataFieldMapper.Builder,Y extends MetadataFieldMapper> |
static interface |
MetadataFieldMapper.TypeParser |
FieldMapper.CopyTo, FieldMapper.MultiFields
Mapper.BuilderContext
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
COERCE_SETTING, copyTo, defaultFieldType, fieldType, IGNORE_MALFORMED_SETTING, indexCreatedVersion, multiFields
EMPTY_PARAMS
Modifier | Constructor and Description |
---|---|
protected |
MetadataFieldMapper(java.lang.String simpleName,
MappedFieldType fieldType,
MappedFieldType defaultFieldType,
Settings indexSettings) |
Modifier and Type | Method and Description |
---|---|
MetadataFieldMapper |
merge(Mapper mergeWith,
boolean updateAllTypes)
Return the merge of
mergeWith into this. |
abstract void |
postParse(ParseContext context)
Called after
FieldMapper.parse(ParseContext) on the RootObjectMapper . |
abstract void |
preParse(ParseContext context)
Called before
FieldMapper.parse(ParseContext) on the RootObjectMapper . |
clone, contentType, copyTo, customBoost, doMerge, doXContentAnalyzers, doXContentBody, doXContentDocValues, fieldType, indexOptionToString, indexTokenizeOption, iterator, name, parse, parseCreateField, termVectorOptionsToString, toXContent, updateFieldType
simpleName
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isFragment
protected MetadataFieldMapper(java.lang.String simpleName, MappedFieldType fieldType, MappedFieldType defaultFieldType, Settings indexSettings)
public abstract void preParse(ParseContext context) throws java.io.IOException
FieldMapper.parse(ParseContext)
on the RootObjectMapper
.java.io.IOException
public abstract void postParse(ParseContext context) throws java.io.IOException
FieldMapper.parse(ParseContext)
on the RootObjectMapper
.java.io.IOException
public MetadataFieldMapper merge(Mapper mergeWith, boolean updateAllTypes)
Mapper
mergeWith
into this.
Both this
and mergeWith
will be left unmodified.merge
in class FieldMapper