Class Transform
java.lang.Object
co.elastic.clients.elasticsearch._types.Transform
- All Implemented Interfaces:
JsonpSerializable,TaggedUnion<Transform.Kind,Object>
@JsonpDeserializable
public class Transform
extends Object
implements TaggedUnion<Transform.Kind,Object>, JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Object_get()final Transform.Kind_kind()Get the of the kind of variant held by this object.chain()Get thechainvariant value.booleanisChain()Is this variant instance of kindchain?booleanisScript()Is this variant instance of kindscript?booleanisSearch()Is this variant instance of kindsearch?static Transformscript()Get thescriptvariant value.search()Get thesearchvariant value.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
-
-
Constructor Details
-
Transform
-
-
Method Details
-
_kind
Description copied from interface:TaggedUnionGet the of the kind of variant held by this object.- Specified by:
_kindin interfaceTaggedUnion<Transform.Kind,Object> - Returns:
- the variant kind
-
_get
- Specified by:
_getin interfaceTaggedUnion<Transform.Kind,Object>
-
of
-
isChain
public boolean isChain()Is this variant instance of kindchain? -
chain
Get thechainvariant value.- Throws:
IllegalStateException- if the current variant is not of thechainkind.
-
isScript
public boolean isScript()Is this variant instance of kindscript? -
script
Get thescriptvariant value.- Throws:
IllegalStateException- if the current variant is not of thescriptkind.
-
isSearch
public boolean isSearch()Is this variant instance of kindsearch? -
search
Get thesearchvariant value.- Throws:
IllegalStateException- if the current variant is not of thesearchkind.
-
serialize
- Specified by:
serializein interfaceJsonpSerializable
-
toString
-
setupTransformDeserializer
-