Class MultiTermLookup
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.MultiTermLookup
- All Implemented Interfaces:
JsonpSerializable,TaggedUnion<MultiTermLookup.Kind,Object>
@JsonpDeserializable
public class MultiTermLookup
extends Object
implements TaggedUnion<MultiTermLookup.Kind,Object>, JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Object_get()final MultiTermLookup.Kind_kind()Get the of the kind of variant held by this object.field()Get thefieldvariant value.booleanisField()Is this variant instance of kindfield?booleanisScript()Is this variant instance of kindscript?final FieldValuemissing()The value to apply to documents that do not have a value.static MultiTermLookupscript()Get thescriptvariant value.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
-
-
Constructor Details
-
MultiTermLookup
-
-
Method Details
-
_kind
Description copied from interface:TaggedUnionGet the of the kind of variant held by this object.- Specified by:
_kindin interfaceTaggedUnion<MultiTermLookup.Kind,Object> - Returns:
- the variant kind
-
_get
- Specified by:
_getin interfaceTaggedUnion<MultiTermLookup.Kind,Object>
-
of
public static MultiTermLookup of(Function<MultiTermLookup.Builder, ObjectBuilder<MultiTermLookup>> fn) -
missing
The value to apply to documents that do not have a value. By default, documents without a value are ignored.API name:
missing -
isField
public boolean isField()Is this variant instance of kindfield? -
field
Get thefieldvariant value.- Throws:
IllegalStateException- if the current variant is not of thefieldkind.
-
isScript
public boolean isScript()Is this variant instance of kindscript? -
script
Get thescriptvariant value.- Throws:
IllegalStateException- if the current variant is not of thescriptkind.
-
serialize
- Specified by:
serializein interfaceJsonpSerializable
-
toString
-
setupMultiTermLookupDeserializer
protected static void setupMultiTermLookupDeserializer(ObjectDeserializer<MultiTermLookup.Builder> op)
-