Class RuntimeField

java.lang.Object
org.springframework.data.elasticsearch.core.RuntimeField

public class RuntimeField extends Object
Defines a runtime field to be added to a Query
Since:
4.3
Author:
Peter-Josef Meisch, cdalxndr
  • Constructor Details

  • Method Details

    • getName

      public String getName()
    • getMapping

      public Map<String,Object> getMapping()
      Returns:
      the mapping as a Map like it is needed for the Elasticsearch client
    • getType

      public String getType()
      Since:
      4.4
    • getScript

      @Nullable public String getScript()
      Since:
      4.4