Class Processor
java.lang.Object
co.elastic.clients.elasticsearch.ingest.Processor
- All Implemented Interfaces:
JsonpSerializable,OpenTaggedUnion<Processor.Kind,,Object> TaggedUnion<Processor.Kind,Object>
@JsonpDeserializable
public class Processor
extends Object
implements OpenTaggedUnion<Processor.Kind,Object>, JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_custom()Get the custom plugin-defined variant value.final StringGet the actual kind when_kind()equalsProcessor.Kind._Custom(plugin-defined variant).final Object_get()booleanIs this a customProcessordefined by a plugin?final Processor.Kind_kind()Get the of the kind of variant held by this object.append()Get theappendvariant value.Get theattachmentvariant value.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.enrich()Get theenrichvariant value.fail()Get thefailvariant value.foreach()Get theforeachvariant value.geoip()Get thegeoipvariant value.grok()Get thegrokvariant value.gsub()Get thegsubvariant value.Get theinferencevariant value.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?booleanisEnrich()Is this variant instance of kindenrich?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?booleanIs this variant instance of kindinference?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?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.toString()trim()Get thetrimvariant value.Get theuppercasevariant value.Get theurldecodevariant value.Get theuser_agentvariant value.
-
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,Object> - Returns:
- the variant kind
-
_get
- Specified by:
_getin interfaceTaggedUnion<Processor.Kind,Object>
-
of
-
isAttachment
public boolean isAttachment()Is this variant instance of kindattachment? -
attachment
Get theattachmentvariant value.- Throws:
IllegalStateException- if the current variant is not of theattachmentkind.
-
isAppend
public boolean isAppend()Is this variant instance of kindappend? -
append
Get theappendvariant value.- Throws:
IllegalStateException- if the current variant is not of theappendkind.
-
isCsv
public boolean isCsv()Is this variant instance of kindcsv? -
csv
Get thecsvvariant value.- Throws:
IllegalStateException- if the current variant is not of thecsvkind.
-
isConvert
public boolean isConvert()Is this variant instance of kindconvert? -
convert
Get theconvertvariant value.- Throws:
IllegalStateException- if the current variant is not of theconvertkind.
-
isDate
public boolean isDate()Is this variant instance of kinddate? -
date
Get thedatevariant value.- Throws:
IllegalStateException- if the current variant is not of 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 of thedate_index_namekind.
-
isDotExpander
public boolean isDotExpander()Is this variant instance of kinddot_expander? -
dotExpander
Get thedot_expandervariant value.- Throws:
IllegalStateException- if the current variant is not of thedot_expanderkind.
-
isEnrich
public boolean isEnrich()Is this variant instance of kindenrich? -
enrich
Get theenrichvariant value.- Throws:
IllegalStateException- if the current variant is not of theenrichkind.
-
isFail
public boolean isFail()Is this variant instance of kindfail? -
fail
Get thefailvariant value.- Throws:
IllegalStateException- if the current variant is not of thefailkind.
-
isForeach
public boolean isForeach()Is this variant instance of kindforeach? -
foreach
Get theforeachvariant value.- Throws:
IllegalStateException- if the current variant is not of theforeachkind.
-
isJson
public boolean isJson()Is this variant instance of kindjson? -
json
Get thejsonvariant value.- Throws:
IllegalStateException- if the current variant is not of thejsonkind.
-
isUserAgent
public boolean isUserAgent()Is this variant instance of kinduser_agent? -
userAgent
Get theuser_agentvariant value.- Throws:
IllegalStateException- if the current variant is not of theuser_agentkind.
-
isKv
public boolean isKv()Is this variant instance of kindkv? -
kv
Get thekvvariant value.- Throws:
IllegalStateException- if the current variant is not of thekvkind.
-
isGeoip
public boolean isGeoip()Is this variant instance of kindgeoip? -
geoip
Get thegeoipvariant value.- Throws:
IllegalStateException- if the current variant is not of thegeoipkind.
-
isGrok
public boolean isGrok()Is this variant instance of kindgrok? -
grok
Get thegrokvariant value.- Throws:
IllegalStateException- if the current variant is not of thegrokkind.
-
isGsub
public boolean isGsub()Is this variant instance of kindgsub? -
gsub
Get thegsubvariant value.- Throws:
IllegalStateException- if the current variant is not of thegsubkind.
-
isJoin
public boolean isJoin()Is this variant instance of kindjoin? -
join
Get thejoinvariant value.- Throws:
IllegalStateException- if the current variant is not of thejoinkind.
-
isLowercase
public boolean isLowercase()Is this variant instance of kindlowercase? -
lowercase
Get thelowercasevariant value.- Throws:
IllegalStateException- if the current variant is not of thelowercasekind.
-
isRemove
public boolean isRemove()Is this variant instance of kindremove? -
remove
Get theremovevariant value.- Throws:
IllegalStateException- if the current variant is not of theremovekind.
-
isRename
public boolean isRename()Is this variant instance of kindrename? -
rename
Get therenamevariant value.- Throws:
IllegalStateException- if the current variant is not of therenamekind.
-
isScript
public boolean isScript()Is this variant instance of kindscript? -
script
Get thescriptvariant value.- Throws:
IllegalStateException- if the current variant is not of thescriptkind.
-
isSet
public boolean isSet()Is this variant instance of kindset? -
set
Get thesetvariant value.- Throws:
IllegalStateException- if the current variant is not of thesetkind.
-
isSort
public boolean isSort()Is this variant instance of kindsort? -
sort
Get thesortvariant value.- Throws:
IllegalStateException- if the current variant is not of thesortkind.
-
isSplit
public boolean isSplit()Is this variant instance of kindsplit? -
split
Get thesplitvariant value.- Throws:
IllegalStateException- if the current variant is not of thesplitkind.
-
isTrim
public boolean isTrim()Is this variant instance of kindtrim? -
trim
Get thetrimvariant value.- Throws:
IllegalStateException- if the current variant is not of thetrimkind.
-
isUppercase
public boolean isUppercase()Is this variant instance of kinduppercase? -
uppercase
Get theuppercasevariant value.- Throws:
IllegalStateException- if the current variant is not of theuppercasekind.
-
isUrldecode
public boolean isUrldecode()Is this variant instance of kindurldecode? -
urldecode
Get theurldecodevariant value.- Throws:
IllegalStateException- if the current variant is not of theurldecodekind.
-
isBytes
public boolean isBytes()Is this variant instance of kindbytes? -
bytes
Get thebytesvariant value.- Throws:
IllegalStateException- if the current variant is not of thebyteskind.
-
isDissect
public boolean isDissect()Is this variant instance of kinddissect? -
dissect
Get thedissectvariant value.- Throws:
IllegalStateException- if the current variant is not of thedissectkind.
-
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 of theset_security_userkind.
-
isPipeline
public boolean isPipeline()Is this variant instance of kindpipeline? -
pipeline
Get thepipelinevariant value.- Throws:
IllegalStateException- if the current variant is not of thepipelinekind.
-
isDrop
public boolean isDrop()Is this variant instance of kinddrop? -
drop
Get thedropvariant value.- Throws:
IllegalStateException- if the current variant is not of thedropkind.
-
isCircle
public boolean isCircle()Is this variant instance of kindcircle? -
circle
Get thecirclevariant value.- Throws:
IllegalStateException- if the current variant is not of thecirclekind.
-
isInference
public boolean isInference()Is this variant instance of kindinference? -
inference
Get theinferencevariant value.- Throws:
IllegalStateException- if the current variant is not of theinferencekind.
-
_isCustom
public boolean _isCustom()Is this a customProcessordefined by a plugin? -
_customKind
Get the actual kind when_kind()equalsProcessor.Kind._Custom(plugin-defined variant).- Specified by:
_customKindin interfaceOpenTaggedUnion<Processor.Kind,Object>
-
_custom
Get the custom plugin-defined variant value.- Throws:
IllegalStateException- if the current variant is notProcessor.Kind._Custom.
-
serialize
- Specified by:
serializein interfaceJsonpSerializable
-
toString
-
setupProcessorDeserializer
-