Class ScaledFloatFieldMapper

java.lang.Object
org.elasticsearch.index.mapper.Mapper
org.elasticsearch.index.mapper.FieldMapper
org.elasticsearch.index.mapper.ScaledFloatFieldMapper
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<org.elasticsearch.index.mapper.Mapper>, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentFragment

public class ScaledFloatFieldMapper
extends org.elasticsearch.index.mapper.FieldMapper
A FieldMapper for scaled floats. Values are internally multiplied by a scaling factor and rounded to the closest long.
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  ScaledFloatFieldMapper.Builder  
    static class  ScaledFloatFieldMapper.ScaledFloatFieldType  

    Nested classes/interfaces inherited from class org.elasticsearch.index.mapper.FieldMapper

    org.elasticsearch.index.mapper.FieldMapper.Conflicts, org.elasticsearch.index.mapper.FieldMapper.CopyTo, org.elasticsearch.index.mapper.FieldMapper.MergeValidator<T extends java.lang.Object>, org.elasticsearch.index.mapper.FieldMapper.MultiFields, org.elasticsearch.index.mapper.FieldMapper.Parameter<T extends java.lang.Object>, org.elasticsearch.index.mapper.FieldMapper.Serializer<T extends java.lang.Object>, org.elasticsearch.index.mapper.FieldMapper.SerializerCheck<T extends java.lang.Object>, org.elasticsearch.index.mapper.FieldMapper.TypeParser

    Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent

    org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String CONTENT_TYPE  
    static org.elasticsearch.index.mapper.FieldMapper.TypeParser PARSER  

    Fields inherited from class org.elasticsearch.index.mapper.FieldMapper

    copyTo, IGNORE_MALFORMED_SETTING, indexAnalyzers, mappedFieldType, multiFields

    Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent

    EMPTY_PARAMS
  • Method Summary

    Modifier and Type Method Description
    protected java.lang.String contentType()  
    ScaledFloatFieldMapper.ScaledFloatFieldType fieldType()  
    org.elasticsearch.index.mapper.FieldMapper.Builder getMergeBuilder()  
    protected void parseCreateField​(org.elasticsearch.index.mapper.ParseContext context)  

    Methods inherited from class org.elasticsearch.index.mapper.FieldMapper

    checkIncomingMergeType, copyTo, createFieldNamesField, doValidate, doXContentBody, indexAnalyzers, iterator, merge, multiFields, name, parse, parsesArrayValue, toXContent, typeName, validate

    Methods inherited from class org.elasticsearch.index.mapper.Mapper

    simpleName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator

    Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment

    isFragment
  • Field Details

  • Method Details

    • fieldType

      Overrides:
      fieldType in class org.elasticsearch.index.mapper.FieldMapper
    • contentType

      protected java.lang.String contentType()
      Specified by:
      contentType in class org.elasticsearch.index.mapper.FieldMapper
    • getMergeBuilder

      public org.elasticsearch.index.mapper.FieldMapper.Builder getMergeBuilder()
      Specified by:
      getMergeBuilder in class org.elasticsearch.index.mapper.FieldMapper
    • parseCreateField

      protected void parseCreateField​(org.elasticsearch.index.mapper.ParseContext context) throws java.io.IOException
      Specified by:
      parseCreateField in class org.elasticsearch.index.mapper.FieldMapper
      Throws:
      java.io.IOException