Class ScriptSort
java.lang.Object
co.elastic.clients.elasticsearch._types.ScriptSort
- All Implemented Interfaces:
SortOptionsVariant,JsonpSerializable
@JsonpDeserializable public class ScriptSort extends java.lang.Object implements SortOptionsVariant, JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScriptSort.BuilderBuilder forScriptSort. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ScriptSort>_DESERIALIZERJson deserializer forScriptSort -
Method Summary
Modifier and Type Method Description SortOptions.Kind_sortOptionsKind()SortOptions variant kind.SortModemode()API name:modeNestedSortValuenested()API name:nestedstatic ScriptSortof(java.util.function.Function<ScriptSort.Builder,ObjectBuilder<ScriptSort>> fn)SortOrderorder()API name:orderScriptscript()Required - API name:scriptvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupScriptSortDeserializer(ObjectDeserializer<ScriptSort.Builder> op)ScriptSortTypetype()API name:typeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch._types.SortOptionsVariant
_toSortOptions
-
Field Details
-
_DESERIALIZER
Json deserializer forScriptSort
-
-
Method Details
-
of
public static ScriptSort of(java.util.function.Function<ScriptSort.Builder,ObjectBuilder<ScriptSort>> fn) -
_sortOptionsKind
SortOptions variant kind.- Specified by:
_sortOptionsKindin interfaceSortOptionsVariant
-
order
API name:order -
script
Required - API name:script -
type
API name:type -
mode
API name:mode -
nested
API name:nested -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupScriptSortDeserializer
-