Class Latest
java.lang.Object
co.elastic.clients.elasticsearch.transform.Latest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class Latest extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLatest.BuilderBuilder forLatest. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Latest>_DESERIALIZERJson deserializer forLatest -
Constructor Summary
Constructors Constructor Description Latest(Latest.Builder builder)Latest(java.util.function.Function<Latest.Builder,Latest.Builder> fn) -
Method Summary
Modifier and Type Method Description voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupLatestDeserializer(DelegatingDeserializer<Latest.Builder> op)java.lang.Stringsort()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
-
_DESERIALIZER
Json deserializer forLatest
-
-
Constructor Details
-
Latest
-
Latest
-
-
Method Details
-
sort
public java.lang.String sort()Required - Specifies the date field that is used to identify the latest documents.API name:
sort -
uniqueKey
public 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
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupLatestDeserializer
-