Class Rank
java.lang.Object
co.elastic.clients.elasticsearch._types.Rank
- All Implemented Interfaces:
JsonpSerializable,TaggedUnion<Rank.Kind,Object>
@JsonpDeserializable
public class Rank
extends Object
implements TaggedUnion<Rank.Kind,Object>, JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Object_get()final Rank.Kind_kind()Get the of the kind of variant held by this object.booleanisRrf()Is this variant instance of kindrrf?static Rankof(Function<Rank.Builder, ObjectBuilder<Rank>> fn) rrf()Get therrfvariant value.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
-
-
Constructor Details
-
Rank
-
-
Method Details
-
_kind
Description copied from interface:TaggedUnionGet the of the kind of variant held by this object.- Specified by:
_kindin interfaceTaggedUnion<Rank.Kind,Object> - Returns:
- the variant kind
-
_get
- Specified by:
_getin interfaceTaggedUnion<Rank.Kind,Object>
-
of
-
isRrf
public boolean isRrf()Is this variant instance of kindrrf? -
rrf
Get therrfvariant value.- Throws:
IllegalStateException- if the current variant is not of therrfkind.
-
serialize
- Specified by:
serializein interfaceJsonpSerializable
-
toString
-
setupRankDeserializer
-