java.lang.Object
co.elastic.clients.elasticsearch.transform.Latest
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable
public class Latest
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  Latest.Builder
    Builder for Latest.
  • Field Summary

    Fields
    Modifier and Type Field Description
    static JsonpDeserializer<Latest> _DESERIALIZER
    Json deserializer for Latest
  • Method Summary

    Modifier and Type Method Description
    static Latest of​(java.util.function.Function<Latest.Builder,​ObjectBuilder<Latest>> fn)  
    void serialize​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    Serialize this object to JSON.
    protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)  
    protected static void setupLatestDeserializer​(ObjectDeserializer<Latest.Builder> op)  
    java.lang.String sort()
    Required - Specifies the date field that is used to identify the latest documents.
    java.util.List<java.lang.String> uniqueKey()
    Required - Specifies an array of one or more fields that are used to group the data.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • of

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

      public final java.lang.String sort()
      Required - Specifies the date field that is used to identify the latest documents.

      API name: sort

    • uniqueKey

      public final java.util.List<java.lang.String> uniqueKey()
      Required - Specifies an array of one or more fields that are used to group the data.

      API name: unique_key

    • 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)
    • setupLatestDeserializer

      protected static void setupLatestDeserializer​(ObjectDeserializer<Latest.Builder> op)