Package org.opensearch.index.mapper.size
Class SizeFieldMapper
- java.lang.Object
-
- org.opensearch.index.mapper.Mapper
-
- org.opensearch.index.mapper.FieldMapper
-
- org.opensearch.index.mapper.ParametrizedFieldMapper
-
- org.opensearch.index.mapper.MetadataFieldMapper
-
- org.opensearch.index.mapper.size.SizeFieldMapper
-
- All Implemented Interfaces:
java.lang.Cloneable,java.lang.Iterable<Mapper>,ToXContent,ToXContentFragment
public class SizeFieldMapper extends MetadataFieldMapper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSizeFieldMapper.Builder-
Nested classes/interfaces inherited from class org.opensearch.index.mapper.MetadataFieldMapper
MetadataFieldMapper.ConfigurableTypeParser, MetadataFieldMapper.FixedTypeParser, MetadataFieldMapper.TypeParser
-
Nested classes/interfaces inherited from class org.opensearch.index.mapper.ParametrizedFieldMapper
ParametrizedFieldMapper.Parameter<T extends java.lang.Object>, ParametrizedFieldMapper.Serializer<T extends java.lang.Object>, ParametrizedFieldMapper.SerializerCheck<T extends java.lang.Object>
-
Nested classes/interfaces inherited from class org.opensearch.index.mapper.FieldMapper
FieldMapper.CopyTo, FieldMapper.MultiFields
-
Nested classes/interfaces inherited from class org.opensearch.index.mapper.Mapper
Mapper.BuilderContext
-
Nested classes/interfaces inherited from interface org.opensearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNAMEstatic MetadataFieldMapper.TypeParserPARSER-
Fields inherited from class org.opensearch.index.mapper.FieldMapper
COERCE_SETTING, copyTo, fieldType, IGNORE_MALFORMED_SETTING, mappedFieldType, multiFields
-
Fields inherited from interface org.opensearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringcontentType()booleanenabled()ParametrizedFieldMapper.BuildergetMergeBuilder()voidpostParse(ParseContext context)-
Methods inherited from class org.opensearch.index.mapper.MetadataFieldMapper
parseCreateField, preParse, toXContent, updateableBoolParam
-
Methods inherited from class org.opensearch.index.mapper.ParametrizedFieldMapper
doXContentBody, merge, mergeOptions
-
Methods inherited from class org.opensearch.index.mapper.FieldMapper
clone, copyTo, createFieldNamesField, docValuesByDefault, doValidate, doXContentAnalyzers, fieldType, indexedByDefault, indexOptionToString, iterator, multiFields, name, parse, parsesArrayValue, storedByDefault, typeName, validate
-
Methods inherited from class org.opensearch.index.mapper.Mapper
hasIndexCreated, simpleName
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.common.xcontent.ToXContentFragment
isFragment
-
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
PARSER
public static final MetadataFieldMapper.TypeParser PARSER
-
-
Method Detail
-
contentType
protected java.lang.String contentType()
- Specified by:
contentTypein classFieldMapper
-
enabled
public boolean enabled()
-
postParse
public void postParse(ParseContext context) throws java.io.IOException
- Overrides:
postParsein classMetadataFieldMapper- Throws:
java.io.IOException
-
getMergeBuilder
public ParametrizedFieldMapper.Builder getMergeBuilder()
- Overrides:
getMergeBuilderin classMetadataFieldMapper
-
-