Class RuntimeField.Builder

java.lang.Object
org.elasticsearch.index.mapper.RuntimeField.Builder
All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent
Enclosing interface:
RuntimeField

public abstract static class RuntimeField.Builder extends Object implements org.elasticsearch.common.xcontent.ToXContent
  • Nested Class Summary

    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 inherited from interface org.elasticsearch.common.xcontent.ToXContent

    EMPTY_PARAMS
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Builder​(String name)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract RuntimeField
     
     
     
    void
    parse​(String name, MappingParserContext parserContext, Map<String,​Object> fieldNode)
     
    org.elasticsearch.common.xcontent.XContentBuilder
    toXContent​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
     

    Methods inherited from class java.lang.Object

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

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

    isFragment
  • Constructor Details

    • Builder

      protected Builder(String name)
  • Method Details

    • meta

      public Map<String,​String> meta()
    • getParameters

      protected List<FieldMapper.Parameter<?>> getParameters()
    • createRuntimeField

      protected abstract RuntimeField createRuntimeField(MappingParserContext parserContext)
    • toXContent

      public final org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.common.xcontent.ToXContent
      Throws:
      IOException
    • parse

      public final void parse(String name, MappingParserContext parserContext, Map<String,​Object> fieldNode)