java.lang.Object
co.elastic.clients.elasticsearch._types.mapping.RuntimeField
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class RuntimeField extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • fetchFields

      public final List<RuntimeFieldFetchFields> fetchFields()
      For type lookup

      API name: fetch_fields

    • format

      @Nullable public final String format()
      A custom format for date type runtime fields.

      API name: format

    • inputField

      @Nullable public final String inputField()
      For type lookup

      API name: input_field

    • targetField

      @Nullable public final String targetField()
      For type lookup

      API name: target_field

    • targetIndex

      @Nullable public final String targetIndex()
      For type lookup

      API name: target_index

    • script

      @Nullable public final Script script()
      Painless script executed at query time.

      API name: script

    • type

      public final RuntimeFieldType type()
      Required - Field type, which can be: boolean, composite, date, double, geo_point, ip,keyword, long, or lookup.

      API name: type

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupRuntimeFieldDeserializer

      protected static void setupRuntimeFieldDeserializer(ObjectDeserializer<RuntimeField.Builder> op)