Class FieldSort

All Implemented Interfaces:

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​( generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​( generator, JsonpMapper mapper)
    • setupFieldSortDeserializer

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