Class ScoreSort
- java.lang.Object
-
- org.opensearch.client.opensearch._types.ScoreSort
-
- All Implemented Interfaces:
JsonpSerializable,SortOptionsVariant
@JsonpDeserializable public class ScoreSort extends java.lang.Object implements SortOptionsVariant, JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScoreSort.BuilderBuilder forScoreSort.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ScoreSort>_DESERIALIZERJson deserializer forScoreSort
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SortOptions.Kind_sortOptionsKind()SortOptions variant kind.static ScoreSortof(java.util.function.Function<ScoreSort.Builder,ObjectBuilder<ScoreSort>> fn)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 voidsetupScoreSortDeserializer(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 org.opensearch.client.opensearch._types.SortOptionsVariant
_toSortOptions
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<ScoreSort> _DESERIALIZER
Json deserializer forScoreSort
-
-
Method Detail
-
of
public static ScoreSort of(java.util.function.Function<ScoreSort.Builder,ObjectBuilder<ScoreSort>> fn)
-
_sortOptionsKind
public SortOptions.Kind _sortOptionsKind()
SortOptions variant kind.- Specified by:
_sortOptionsKindin interfaceSortOptionsVariant
-
order
@Nullable public final SortOrder order()
API name:order
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupScoreSortDeserializer
protected static void setupScoreSortDeserializer(ObjectDeserializer<ScoreSort.Builder> op)
-
-