Class Processor
java.lang.Object
org.opensearch.client.opensearch.ingest.Processor
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,TaggedUnion<Processor.Kind,ProcessorVariant>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class Processor
extends Object
implements TaggedUnion<Processor.Kind,ProcessorVariant>, PlainJsonSerializable
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ProcessorVariant_get()final Processor.Kind_kind()Get the of the kind of variant held by this object.append()Get theappendvariant value.Get theattachmentvariant value.static Processor.Builderbuilder()bytes()Get thebytesvariant value.circle()Get thecirclevariant value.convert()Get theconvertvariant value.csv()Get thecsvvariant value.date()Get thedatevariant value.Get thedate_index_namevariant value.dissect()Get thedissectvariant value.Get thedot_expandervariant value.drop()Get thedropvariant value.booleanfail()Get thefailvariant value.foreach()Get theforeachvariant value.geoip()Get thegeoipvariant value.grok()Get thegrokvariant value.gsub()Get thegsubvariant value.inthashCode()booleanisAppend()Is this variant instance of kindappend?booleanIs this variant instance of kindattachment?booleanisBytes()Is this variant instance of kindbytes?booleanisCircle()Is this variant instance of kindcircle?booleanIs this variant instance of kindconvert?booleanisCsv()Is this variant instance of kindcsv?booleanisDate()Is this variant instance of kinddate?booleanIs this variant instance of kinddate_index_name?booleanIs this variant instance of kinddissect?booleanIs this variant instance of kinddot_expander?booleanisDrop()Is this variant instance of kinddrop?booleanisFail()Is this variant instance of kindfail?booleanIs this variant instance of kindforeach?booleanisGeoip()Is this variant instance of kindgeoip?booleanisGrok()Is this variant instance of kindgrok?booleanisGsub()Is this variant instance of kindgsub?booleanisJoin()Is this variant instance of kindjoin?booleanisJson()Is this variant instance of kindjson?booleanisKv()Is this variant instance of kindkv?booleanIs this variant instance of kindlowercase?booleanIs this variant instance of kindpipeline?booleanisRemove()Is this variant instance of kindremove?booleanisRename()Is this variant instance of kindrename?booleanisScript()Is this variant instance of kindscript?booleanisSet()Is this variant instance of kindset?booleanIs this variant instance of kindset_security_user?booleanisSort()Is this variant instance of kindsort?booleanisSplit()Is this variant instance of kindsplit?booleanIs this variant instance of kindtext_embedding?booleanisTrim()Is this variant instance of kindtrim?booleanIs this variant instance of kinduppercase?booleanIs this variant instance of kindurldecode?booleanIs this variant instance of kinduser_agent?join()Get thejoinvariant value.json()Get thejsonvariant value.kv()Get thekvvariant value.Get thelowercasevariant value.static Processorpipeline()Get thepipelinevariant value.remove()Get theremovevariant value.rename()Get therenamevariant value.script()Get thescriptvariant value.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) set()Get thesetvariant value.Get theset_security_uservariant value.protected static voidsort()Get thesortvariant value.split()Get thesplitvariant value.Get thetext_embeddingvariant value.trim()Get thetrimvariant value.Get theuppercasevariant value.Get theurldecodevariant value.Get theuser_agentvariant value.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
Field Details
-
_DESERIALIZER
-
-
Constructor Details
-
Processor
-
-
Method Details
-
_kind
Description copied from interface:TaggedUnionGet the of the kind of variant held by this object.- Specified by:
_kindin interfaceTaggedUnion<Processor.Kind,ProcessorVariant> - Returns:
- the variant kind
-
_get
- Specified by:
_getin interfaceTaggedUnion<Processor.Kind,ProcessorVariant>
-
of
-
isAppend
public boolean isAppend()Is this variant instance of kindappend? -
append
Get theappendvariant value.- Throws:
IllegalStateException- if the current variant is not theappendkind.
-
isAttachment
public boolean isAttachment()Is this variant instance of kindattachment? -
attachment
Get theattachmentvariant value.- Throws:
IllegalStateException- if the current variant is not theattachmentkind.
-
isBytes
public boolean isBytes()Is this variant instance of kindbytes? -
bytes
Get thebytesvariant value.- Throws:
IllegalStateException- if the current variant is not thebyteskind.
-
isCircle
public boolean isCircle()Is this variant instance of kindcircle? -
circle
Get thecirclevariant value.- Throws:
IllegalStateException- if the current variant is not thecirclekind.
-
isConvert
public boolean isConvert()Is this variant instance of kindconvert? -
convert
Get theconvertvariant value.- Throws:
IllegalStateException- if the current variant is not theconvertkind.
-
isCsv
public boolean isCsv()Is this variant instance of kindcsv? -
csv
Get thecsvvariant value.- Throws:
IllegalStateException- if the current variant is not thecsvkind.
-
isDate
public boolean isDate()Is this variant instance of kinddate? -
date
Get thedatevariant value.- Throws:
IllegalStateException- if the current variant is not thedatekind.
-
isDateIndexName
public boolean isDateIndexName()Is this variant instance of kinddate_index_name? -
dateIndexName
Get thedate_index_namevariant value.- Throws:
IllegalStateException- if the current variant is not thedate_index_namekind.
-
isDissect
public boolean isDissect()Is this variant instance of kinddissect? -
dissect
Get thedissectvariant value.- Throws:
IllegalStateException- if the current variant is not thedissectkind.
-
isDotExpander
public boolean isDotExpander()Is this variant instance of kinddot_expander? -
dotExpander
Get thedot_expandervariant value.- Throws:
IllegalStateException- if the current variant is not thedot_expanderkind.
-
isDrop
public boolean isDrop()Is this variant instance of kinddrop? -
drop
Get thedropvariant value.- Throws:
IllegalStateException- if the current variant is not thedropkind.
-
isFail
public boolean isFail()Is this variant instance of kindfail? -
fail
Get thefailvariant value.- Throws:
IllegalStateException- if the current variant is not thefailkind.
-
isForeach
public boolean isForeach()Is this variant instance of kindforeach? -
foreach
Get theforeachvariant value.- Throws:
IllegalStateException- if the current variant is not theforeachkind.
-
isGeoip
public boolean isGeoip()Is this variant instance of kindgeoip? -
geoip
Get thegeoipvariant value.- Throws:
IllegalStateException- if the current variant is not thegeoipkind.
-
isGrok
public boolean isGrok()Is this variant instance of kindgrok? -
grok
Get thegrokvariant value.- Throws:
IllegalStateException- if the current variant is not thegrokkind.
-
isGsub
public boolean isGsub()Is this variant instance of kindgsub? -
gsub
Get thegsubvariant value.- Throws:
IllegalStateException- if the current variant is not thegsubkind.
-
isJoin
public boolean isJoin()Is this variant instance of kindjoin? -
join
Get thejoinvariant value.- Throws:
IllegalStateException- if the current variant is not thejoinkind.
-
isJson
public boolean isJson()Is this variant instance of kindjson? -
json
Get thejsonvariant value.- Throws:
IllegalStateException- if the current variant is not thejsonkind.
-
isKv
public boolean isKv()Is this variant instance of kindkv? -
kv
Get thekvvariant value.- Throws:
IllegalStateException- if the current variant is not thekvkind.
-
isLowercase
public boolean isLowercase()Is this variant instance of kindlowercase? -
lowercase
Get thelowercasevariant value.- Throws:
IllegalStateException- if the current variant is not thelowercasekind.
-
isPipeline
public boolean isPipeline()Is this variant instance of kindpipeline? -
pipeline
Get thepipelinevariant value.- Throws:
IllegalStateException- if the current variant is not thepipelinekind.
-
isRemove
public boolean isRemove()Is this variant instance of kindremove? -
remove
Get theremovevariant value.- Throws:
IllegalStateException- if the current variant is not theremovekind.
-
isRename
public boolean isRename()Is this variant instance of kindrename? -
rename
Get therenamevariant value.- Throws:
IllegalStateException- if the current variant is not therenamekind.
-
isScript
public boolean isScript()Is this variant instance of kindscript? -
script
Get thescriptvariant value.- Throws:
IllegalStateException- if the current variant is not thescriptkind.
-
isSet
public boolean isSet()Is this variant instance of kindset? -
set
Get thesetvariant value.- Throws:
IllegalStateException- if the current variant is not thesetkind.
-
isSetSecurityUser
public boolean isSetSecurityUser()Is this variant instance of kindset_security_user? -
setSecurityUser
Get theset_security_uservariant value.- Throws:
IllegalStateException- if the current variant is not theset_security_userkind.
-
isSort
public boolean isSort()Is this variant instance of kindsort? -
sort
Get thesortvariant value.- Throws:
IllegalStateException- if the current variant is not thesortkind.
-
isSplit
public boolean isSplit()Is this variant instance of kindsplit? -
split
Get thesplitvariant value.- Throws:
IllegalStateException- if the current variant is not thesplitkind.
-
isTextEmbedding
public boolean isTextEmbedding()Is this variant instance of kindtext_embedding? -
textEmbedding
Get thetext_embeddingvariant value.- Throws:
IllegalStateException- if the current variant is not thetext_embeddingkind.
-
isTrim
public boolean isTrim()Is this variant instance of kindtrim? -
trim
Get thetrimvariant value.- Throws:
IllegalStateException- if the current variant is not thetrimkind.
-
isUppercase
public boolean isUppercase()Is this variant instance of kinduppercase? -
uppercase
Get theuppercasevariant value.- Throws:
IllegalStateException- if the current variant is not theuppercasekind.
-
isUrldecode
public boolean isUrldecode()Is this variant instance of kindurldecode? -
urldecode
Get theurldecodevariant value.- Throws:
IllegalStateException- if the current variant is not theurldecodekind.
-
isUserAgent
public boolean isUserAgent()Is this variant instance of kinduser_agent? -
userAgent
Get theuser_agentvariant value.- Throws:
IllegalStateException- if the current variant is not theuser_agentkind.
-
serialize
- Specified by:
serializein interfaceJsonpSerializable
-
toBuilder
-
builder
-
setupProcessorDeserializer
-
hashCode
public int hashCode() -
equals
-