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 classScoreSort.BuilderBuilder forScoreSort. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ScoreSort>_DESERIALIZERJson deserializer forScoreSort -
Method Summary
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)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
_sortOptionsKindin interfaceSortOptionsVariant
-
order
API name:order -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupScoreSortDeserializer
-