Class FieldSort

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

@JsonpDeserializable
public class FieldSort
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static FieldSort of​(java.util.function.Function<FieldSort.Builder,​ObjectBuilder<FieldSort>> fn)
    • field

      public final java.lang.String field()
      Required - The target field
    • missing

      @Nullable public final FieldValue missing()
      API name: missing
    • mode

      @Nullable public final SortMode mode()
      API name: mode
    • nested

      @Nullable public final NestedSortValue nested()
      API name: nested
    • order

      @Nullable public final SortOrder order()
      API name: order
    • unmappedType

      @Nullable public final FieldType unmappedType()
      API name: unmapped_type
    • numericType

      @Nullable public final FieldSortNumericType numericType()
      API name: numeric_type
    • format

      @Nullable public final java.lang.String format()
      API name: format
    • 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)
    • setupFieldSortDeserializer

      protected static void setupFieldSortDeserializer​(ObjectDeserializer<FieldSort.Builder> op)