Class FieldSort
java.lang.Object
org.opensearch.client.opensearch._types.FieldSort
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,SortOptionsVariant
@JsonpDeserializable
public class FieldSort
extends Object
implements SortOptionsVariant, PlainJsonSerializable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<FieldSort> Json deserializer forFieldSort -
Method Summary
Modifier and TypeMethodDescriptionSortOptions variant kind.final Stringfield()Required - The target fieldfinal Stringformat()API name:formatfinal FieldValuemissing()API name:missingfinal SortModemode()API name:modefinal NestedSortValuenested()API name:nestedfinal FieldSortNumericTypeAPI name:numeric_typestatic FieldSortfinal SortOrderorder()API name:ordervoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal FieldTypeAPI name:unmapped_typeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.opensearch._types.SortOptionsVariant
_toSortOptions
-
Field Details
-
_DESERIALIZER
Json deserializer forFieldSort
-
-
Method Details
-
of
-
_sortOptionsKind
SortOptions variant kind.- Specified by:
_sortOptionsKindin interfaceSortOptionsVariant
-
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
API name:format -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupFieldSortDeserializer
-