Package org.opensearch.index.mapper
Class ScaledFloatFieldMapper
java.lang.Object
org.opensearch.index.mapper.Mapper
org.opensearch.index.mapper.FieldMapper
org.opensearch.index.mapper.ParametrizedFieldMapper
org.opensearch.index.mapper.ScaledFloatFieldMapper
- All Implemented Interfaces:
Cloneable,Iterable<Mapper>,ToXContent,ToXContentFragment
A
FieldMapper for scaled floats. Values are internally multiplied
by a scaling factor and rounded to the closest long.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final classNested classes/interfaces inherited from class org.opensearch.index.mapper.ParametrizedFieldMapper
ParametrizedFieldMapper.Parameter<T extends Object>, ParametrizedFieldMapper.Serializer<T extends Object>, ParametrizedFieldMapper.SerializerCheck<T extends Object>, ParametrizedFieldMapper.TypeParserNested classes/interfaces inherited from class org.opensearch.index.mapper.FieldMapper
FieldMapper.CopyTo, FieldMapper.MultiFieldsNested classes/interfaces inherited from class org.opensearch.index.mapper.Mapper
Mapper.BuilderContextNested classes/interfaces inherited from interface org.opensearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final ParametrizedFieldMapper.TypeParserFields inherited from class org.opensearch.index.mapper.FieldMapper
copyTo, fieldType, IGNORE_MALFORMED_SETTING, mappedFieldType, multiFieldsFields inherited from interface org.opensearch.common.xcontent.ToXContent
EMPTY_PARAMS -
Method Summary
Modifier and TypeMethodDescriptionprotected ScaledFloatFieldMapperclone()protected Stringprotected voidparseCreateField(ParseContext context) Methods inherited from class org.opensearch.index.mapper.ParametrizedFieldMapper
doXContentBody, merge, mergeOptionsMethods inherited from class org.opensearch.index.mapper.FieldMapper
copyTo, createFieldNamesField, docValuesByDefault, doValidate, doXContentAnalyzers, indexedByDefault, indexOptionToString, iterator, multiFields, name, parse, parsesArrayValue, storedByDefault, toXContent, typeName, validateMethods inherited from class org.opensearch.index.mapper.Mapper
hasIndexCreated, simpleNameMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.opensearch.common.xcontent.ToXContentFragment
isFragment
-
Field Details
-
CONTENT_TYPE
- See Also:
-
PARSER
-
-
Method Details
-
fieldType
- Overrides:
fieldTypein classFieldMapper
-
contentType
- Specified by:
contentTypein classFieldMapper
-
getMergeBuilder
- Specified by:
getMergeBuilderin classParametrizedFieldMapper
-
clone
- Overrides:
clonein classFieldMapper
-
parseCreateField
- Specified by:
parseCreateFieldin classFieldMapper- Throws:
IOException
-