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.Get thecommunity_idvariant 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.Get thefingerprintvariant value.foreach()Get theforeachvariant value.geoGrid()Get thegeo_gridvariant value.geoip()Get thegeoipvariant value.grok()Get thegrokvariant value.gsub()Get thegsubvariant value.Get thehtml_stripvariant value.Get theinferencevariant value.Get theip_locationvariant 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 kindcommunity_id?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 kindfingerprint?booleanIs this variant instance of kindforeach?booleanIs this variant instance of kindgeo_grid?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 kindhtml_strip?booleanIs this variant instance of kindinference?booleanIs this variant instance of kindip_location?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 kindnetwork_direction?booleanIs this variant instance of kindpipeline?booleanisRedact()Is this variant instance of kindredact?booleanIs this variant instance of kindregistered_domain?booleanisRemove()Is this variant instance of kindremove?booleanisRename()Is this variant instance of kindrename?booleanIs this variant instance of kindreroute?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 kindterminate?booleanisTrim()Is this variant instance of kindtrim?booleanIs this variant instance of kinduppercase?booleanIs this variant instance of kinduri_parts?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.Get thenetwork_directionvariant value.static Processorpipeline()Get thepipelinevariant value.redact()Get theredactvariant value.Get theregistered_domainvariant value.remove()Get theremovevariant value.rename()Get therenamevariant value.reroute()Get thereroutevariant 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 theterminatevariant value.toString()trim()Get thetrimvariant value.Get theuppercasevariant value.uriParts()Get theuri_partsvariant 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
-
isAppend
public boolean isAppend()Is this variant instance of kindappend? -
append
Get theappendvariant value.- Throws:
IllegalStateException- if the current variant is not of theappendkind.
-
isAttachment
public boolean isAttachment()Is this variant instance of kindattachment? -
attachment
Get theattachmentvariant value.- Throws:
IllegalStateException- if the current variant is not of theattachmentkind.
-
isBytes
public boolean isBytes()Is this variant instance of kindbytes? -
bytes
Get thebytesvariant value.- Throws:
IllegalStateException- if the current variant is not of thebyteskind.
-
isCircle
public boolean isCircle()Is this variant instance of kindcircle? -
circle
Get thecirclevariant value.- Throws:
IllegalStateException- if the current variant is not of thecirclekind.
-
isCommunityId
public boolean isCommunityId()Is this variant instance of kindcommunity_id? -
communityId
Get thecommunity_idvariant value.- Throws:
IllegalStateException- if the current variant is not of thecommunity_idkind.
-
isConvert
public boolean isConvert()Is this variant instance of kindconvert? -
convert
Get theconvertvariant value.- Throws:
IllegalStateException- if the current variant is not of theconvertkind.
-
isCsv
public boolean isCsv()Is this variant instance of kindcsv? -
csv
Get thecsvvariant value.- Throws:
IllegalStateException- if the current variant is not of thecsvkind.
-
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.
-
isDissect
public boolean isDissect()Is this variant instance of kinddissect? -
dissect
Get thedissectvariant value.- Throws:
IllegalStateException- if the current variant is not of 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 of thedot_expanderkind.
-
isDrop
public boolean isDrop()Is this variant instance of kinddrop? -
drop
Get thedropvariant value.- Throws:
IllegalStateException- if the current variant is not of thedropkind.
-
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.
-
isFingerprint
public boolean isFingerprint()Is this variant instance of kindfingerprint? -
fingerprint
Get thefingerprintvariant value.- Throws:
IllegalStateException- if the current variant is not of thefingerprintkind.
-
isForeach
public boolean isForeach()Is this variant instance of kindforeach? -
foreach
Get theforeachvariant value.- Throws:
IllegalStateException- if the current variant is not of theforeachkind.
-
isIpLocation
public boolean isIpLocation()Is this variant instance of kindip_location? -
ipLocation
Get theip_locationvariant value.- Throws:
IllegalStateException- if the current variant is not of theip_locationkind.
-
isGeoGrid
public boolean isGeoGrid()Is this variant instance of kindgeo_grid? -
geoGrid
Get thegeo_gridvariant value.- Throws:
IllegalStateException- if the current variant is not of thegeo_gridkind.
-
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.
-
isHtmlStrip
public boolean isHtmlStrip()Is this variant instance of kindhtml_strip? -
htmlStrip
Get thehtml_stripvariant value.- Throws:
IllegalStateException- if the current variant is not of thehtml_stripkind.
-
isInference
public boolean isInference()Is this variant instance of kindinference? -
inference
Get theinferencevariant value.- Throws:
IllegalStateException- if the current variant is not of theinferencekind.
-
isJoin
public boolean isJoin()Is this variant instance of kindjoin? -
join
Get thejoinvariant value.- Throws:
IllegalStateException- if the current variant is not of thejoinkind.
-
isJson
public boolean isJson()Is this variant instance of kindjson? -
json
Get thejsonvariant value.- Throws:
IllegalStateException- if the current variant is not of thejsonkind.
-
isKv
public boolean isKv()Is this variant instance of kindkv? -
kv
Get thekvvariant value.- Throws:
IllegalStateException- if the current variant is not of thekvkind.
-
isLowercase
public boolean isLowercase()Is this variant instance of kindlowercase? -
lowercase
Get thelowercasevariant value.- Throws:
IllegalStateException- if the current variant is not of thelowercasekind.
-
isNetworkDirection
public boolean isNetworkDirection()Is this variant instance of kindnetwork_direction? -
networkDirection
Get thenetwork_directionvariant value.- Throws:
IllegalStateException- if the current variant is not of thenetwork_directionkind.
-
isPipeline
public boolean isPipeline()Is this variant instance of kindpipeline? -
pipeline
Get thepipelinevariant value.- Throws:
IllegalStateException- if the current variant is not of thepipelinekind.
-
isRedact
public boolean isRedact()Is this variant instance of kindredact? -
redact
Get theredactvariant value.- Throws:
IllegalStateException- if the current variant is not of theredactkind.
-
isRegisteredDomain
public boolean isRegisteredDomain()Is this variant instance of kindregistered_domain? -
registeredDomain
Get theregistered_domainvariant value.- Throws:
IllegalStateException- if the current variant is not of theregistered_domainkind.
-
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.
-
isReroute
public boolean isReroute()Is this variant instance of kindreroute? -
reroute
Get thereroutevariant value.- Throws:
IllegalStateException- if the current variant is not of thereroutekind.
-
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.
-
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.
-
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.
-
isTerminate
public boolean isTerminate()Is this variant instance of kindterminate? -
terminate
Get theterminatevariant value.- Throws:
IllegalStateException- if the current variant is not of theterminatekind.
-
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.
-
isUriParts
public boolean isUriParts()Is this variant instance of kinduri_parts? -
uriParts
Get theuri_partsvariant value.- Throws:
IllegalStateException- if the current variant is not of theuri_partskind.
-
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.
-
_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
-