java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.FieldTypes
All Implemented Interfaces:
JsonpSerializable

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

  • Method Details

    • of

    • name

      public final String name()
      Required - The name for the field type in selected nodes.

      API name: name

    • count

      public final int count()
      Required - The number of occurrences of the field type in selected nodes.

      API name: count

    • indexCount

      public final int indexCount()
      Required - The number of indices containing the field type in selected nodes.

      API name: index_count

    • indexedVectorCount

      @Nullable public final Long indexedVectorCount()
      For dense_vector field types, number of indexed vector types in selected nodes.

      API name: indexed_vector_count

    • indexedVectorDimMax

      @Nullable public final Long indexedVectorDimMax()
      For dense_vector field types, the maximum dimension of all indexed vector types in selected nodes.

      API name: indexed_vector_dim_max

    • indexedVectorDimMin

      @Nullable public final Long indexedVectorDimMin()
      For dense_vector field types, the minimum dimension of all indexed vector types in selected nodes.

      API name: indexed_vector_dim_min

    • scriptCount

      @Nullable public final Integer scriptCount()
      The number of fields that declare a script.

      API name: script_count

    • 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
    • setupFieldTypesDeserializer

      protected static void setupFieldTypesDeserializer(ObjectDeserializer<FieldTypes.Builder> op)