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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FieldSort.Builder
Builder forFieldSort
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<FieldSort>
_DESERIALIZER
Json deserializer forFieldSort
-
Method Summary
Modifier and Type Method Description java.lang.String
field()
Required - The target fieldjava.lang.String
format()
API name:format
FieldValue
missing()
API name:missing
SortMode
mode()
API name:mode
NestedSortValue
nested()
API name:nested
FieldSortNumericType
numericType()
API name:numeric_type
static FieldSort
of(java.util.function.Function<FieldSort.Builder,ObjectBuilder<FieldSort>> fn)
SortOrder
order()
API name:order
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
setupFieldSortDeserializer(ObjectDeserializer<FieldSort.Builder> op)
FieldType
unmappedType()
API name:unmapped_type
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forFieldSort
-
-
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
API name:missing
-
mode
API name:mode
-
nested
API name:nested
-
order
API name:order
-
unmappedType
API name:unmapped_type
-
numericType
API name:numeric_type
-
format
@Nullable public final java.lang.String format()API name:format
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupFieldSortDeserializer
-