Class ScoreSort
java.lang.Object
co.elastic.clients.elasticsearch._types.ScoreSort
- All Implemented Interfaces:
SortOptionsVariant
,JsonpSerializable
@JsonpDeserializable public class ScoreSort extends java.lang.Object implements SortOptionsVariant, JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ScoreSort.Builder
Builder forScoreSort
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ScoreSort>
_DESERIALIZER
Json deserializer forScoreSort
-
Method Summary
Modifier and Type Method Description SortOptions.Kind
_sortOptionsKind()
SortOptions variant kind.static ScoreSort
of(java.util.function.Function<ScoreSort.Builder,ObjectBuilder<ScoreSort>> 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
setupScoreSortDeserializer(ObjectDeserializer<ScoreSort.Builder> op)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface co.elastic.clients.elasticsearch._types.SortOptionsVariant
_toSortOptions
-
Field Details
-
_DESERIALIZER
Json deserializer forScoreSort
-
-
Method Details
-
of
public static ScoreSort of(java.util.function.Function<ScoreSort.Builder,ObjectBuilder<ScoreSort>> fn) -
_sortOptionsKind
SortOptions variant kind.- Specified by:
_sortOptionsKind
in interfaceSortOptionsVariant
-
order
API name:order
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupScoreSortDeserializer
-