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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription_custom()
Get the custom plugin-defined variant value.final String
Get the actual kind when_kind()
equalsProcessor.Kind._Custom
(plugin-defined variant).final Object
_get()
boolean
Is this a customProcessor
defined by a plugin?final Processor.Kind
_kind()
Get the of the kind of variant held by this object.append()
Get theappend
variant value.Get theattachment
variant value.bytes()
Get thebytes
variant value.circle()
Get thecircle
variant value.convert()
Get theconvert
variant value.csv()
Get thecsv
variant value.date()
Get thedate
variant value.Get thedate_index_name
variant value.dissect()
Get thedissect
variant value.Get thedot_expander
variant value.drop()
Get thedrop
variant value.enrich()
Get theenrich
variant value.fail()
Get thefail
variant value.foreach()
Get theforeach
variant value.geoip()
Get thegeoip
variant value.grok()
Get thegrok
variant value.gsub()
Get thegsub
variant value.Get theinference
variant value.boolean
isAppend()
Is this variant instance of kindappend
?boolean
Is this variant instance of kindattachment
?boolean
isBytes()
Is this variant instance of kindbytes
?boolean
isCircle()
Is this variant instance of kindcircle
?boolean
Is this variant instance of kindconvert
?boolean
isCsv()
Is this variant instance of kindcsv
?boolean
isDate()
Is this variant instance of kinddate
?boolean
Is this variant instance of kinddate_index_name
?boolean
Is this variant instance of kinddissect
?boolean
Is this variant instance of kinddot_expander
?boolean
isDrop()
Is this variant instance of kinddrop
?boolean
isEnrich()
Is this variant instance of kindenrich
?boolean
isFail()
Is this variant instance of kindfail
?boolean
Is this variant instance of kindforeach
?boolean
isGeoip()
Is this variant instance of kindgeoip
?boolean
isGrok()
Is this variant instance of kindgrok
?boolean
isGsub()
Is this variant instance of kindgsub
?boolean
Is this variant instance of kindinference
?boolean
isJoin()
Is this variant instance of kindjoin
?boolean
isJson()
Is this variant instance of kindjson
?boolean
isKv()
Is this variant instance of kindkv
?boolean
Is this variant instance of kindlowercase
?boolean
Is this variant instance of kindpipeline
?boolean
isRemove()
Is this variant instance of kindremove
?boolean
isRename()
Is this variant instance of kindrename
?boolean
isScript()
Is this variant instance of kindscript
?boolean
isSet()
Is this variant instance of kindset
?boolean
Is this variant instance of kindset_security_user
?boolean
isSort()
Is this variant instance of kindsort
?boolean
isSplit()
Is this variant instance of kindsplit
?boolean
isTrim()
Is this variant instance of kindtrim
?boolean
Is this variant instance of kinduppercase
?boolean
Is this variant instance of kindurldecode
?boolean
Is this variant instance of kinduser_agent
?join()
Get thejoin
variant value.json()
Get thejson
variant value.kv()
Get thekv
variant value.Get thelowercase
variant value.static Processor
pipeline()
Get thepipeline
variant value.remove()
Get theremove
variant value.rename()
Get therename
variant value.script()
Get thescript
variant value.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) set()
Get theset
variant value.Get theset_security_user
variant value.protected static void
sort()
Get thesort
variant value.split()
Get thesplit
variant value.toString()
trim()
Get thetrim
variant value.Get theuppercase
variant value.Get theurldecode
variant value.Get theuser_agent
variant value.
-
Field Details
-
_DESERIALIZER
-
-
Constructor Details
-
Processor
-
-
Method Details
-
_kind
Description copied from interface:TaggedUnion
Get the of the kind of variant held by this object.- Specified by:
_kind
in interfaceTaggedUnion<Processor.Kind,
Object> - Returns:
- the variant kind
-
_get
- Specified by:
_get
in interfaceTaggedUnion<Processor.Kind,
Object>
-
of
-
isAttachment
public boolean isAttachment()Is this variant instance of kindattachment
? -
attachment
Get theattachment
variant value.- Throws:
IllegalStateException
- if the current variant is not of theattachment
kind.
-
isAppend
public boolean isAppend()Is this variant instance of kindappend
? -
append
Get theappend
variant value.- Throws:
IllegalStateException
- if the current variant is not of theappend
kind.
-
isCsv
public boolean isCsv()Is this variant instance of kindcsv
? -
csv
Get thecsv
variant value.- Throws:
IllegalStateException
- if the current variant is not of thecsv
kind.
-
isConvert
public boolean isConvert()Is this variant instance of kindconvert
? -
convert
Get theconvert
variant value.- Throws:
IllegalStateException
- if the current variant is not of theconvert
kind.
-
isDate
public boolean isDate()Is this variant instance of kinddate
? -
date
Get thedate
variant value.- Throws:
IllegalStateException
- if the current variant is not of thedate
kind.
-
isDateIndexName
public boolean isDateIndexName()Is this variant instance of kinddate_index_name
? -
dateIndexName
Get thedate_index_name
variant value.- Throws:
IllegalStateException
- if the current variant is not of thedate_index_name
kind.
-
isDotExpander
public boolean isDotExpander()Is this variant instance of kinddot_expander
? -
dotExpander
Get thedot_expander
variant value.- Throws:
IllegalStateException
- if the current variant is not of thedot_expander
kind.
-
isEnrich
public boolean isEnrich()Is this variant instance of kindenrich
? -
enrich
Get theenrich
variant value.- Throws:
IllegalStateException
- if the current variant is not of theenrich
kind.
-
isFail
public boolean isFail()Is this variant instance of kindfail
? -
fail
Get thefail
variant value.- Throws:
IllegalStateException
- if the current variant is not of thefail
kind.
-
isForeach
public boolean isForeach()Is this variant instance of kindforeach
? -
foreach
Get theforeach
variant value.- Throws:
IllegalStateException
- if the current variant is not of theforeach
kind.
-
isJson
public boolean isJson()Is this variant instance of kindjson
? -
json
Get thejson
variant value.- Throws:
IllegalStateException
- if the current variant is not of thejson
kind.
-
isUserAgent
public boolean isUserAgent()Is this variant instance of kinduser_agent
? -
userAgent
Get theuser_agent
variant value.- Throws:
IllegalStateException
- if the current variant is not of theuser_agent
kind.
-
isKv
public boolean isKv()Is this variant instance of kindkv
? -
kv
Get thekv
variant value.- Throws:
IllegalStateException
- if the current variant is not of thekv
kind.
-
isGeoip
public boolean isGeoip()Is this variant instance of kindgeoip
? -
geoip
Get thegeoip
variant value.- Throws:
IllegalStateException
- if the current variant is not of thegeoip
kind.
-
isGrok
public boolean isGrok()Is this variant instance of kindgrok
? -
grok
Get thegrok
variant value.- Throws:
IllegalStateException
- if the current variant is not of thegrok
kind.
-
isGsub
public boolean isGsub()Is this variant instance of kindgsub
? -
gsub
Get thegsub
variant value.- Throws:
IllegalStateException
- if the current variant is not of thegsub
kind.
-
isJoin
public boolean isJoin()Is this variant instance of kindjoin
? -
join
Get thejoin
variant value.- Throws:
IllegalStateException
- if the current variant is not of thejoin
kind.
-
isLowercase
public boolean isLowercase()Is this variant instance of kindlowercase
? -
lowercase
Get thelowercase
variant value.- Throws:
IllegalStateException
- if the current variant is not of thelowercase
kind.
-
isRemove
public boolean isRemove()Is this variant instance of kindremove
? -
remove
Get theremove
variant value.- Throws:
IllegalStateException
- if the current variant is not of theremove
kind.
-
isRename
public boolean isRename()Is this variant instance of kindrename
? -
rename
Get therename
variant value.- Throws:
IllegalStateException
- if the current variant is not of therename
kind.
-
isScript
public boolean isScript()Is this variant instance of kindscript
? -
script
Get thescript
variant value.- Throws:
IllegalStateException
- if the current variant is not of thescript
kind.
-
isSet
public boolean isSet()Is this variant instance of kindset
? -
set
Get theset
variant value.- Throws:
IllegalStateException
- if the current variant is not of theset
kind.
-
isSort
public boolean isSort()Is this variant instance of kindsort
? -
sort
Get thesort
variant value.- Throws:
IllegalStateException
- if the current variant is not of thesort
kind.
-
isSplit
public boolean isSplit()Is this variant instance of kindsplit
? -
split
Get thesplit
variant value.- Throws:
IllegalStateException
- if the current variant is not of thesplit
kind.
-
isTrim
public boolean isTrim()Is this variant instance of kindtrim
? -
trim
Get thetrim
variant value.- Throws:
IllegalStateException
- if the current variant is not of thetrim
kind.
-
isUppercase
public boolean isUppercase()Is this variant instance of kinduppercase
? -
uppercase
Get theuppercase
variant value.- Throws:
IllegalStateException
- if the current variant is not of theuppercase
kind.
-
isUrldecode
public boolean isUrldecode()Is this variant instance of kindurldecode
? -
urldecode
Get theurldecode
variant value.- Throws:
IllegalStateException
- if the current variant is not of theurldecode
kind.
-
isBytes
public boolean isBytes()Is this variant instance of kindbytes
? -
bytes
Get thebytes
variant value.- Throws:
IllegalStateException
- if the current variant is not of thebytes
kind.
-
isDissect
public boolean isDissect()Is this variant instance of kinddissect
? -
dissect
Get thedissect
variant value.- Throws:
IllegalStateException
- if the current variant is not of thedissect
kind.
-
isSetSecurityUser
public boolean isSetSecurityUser()Is this variant instance of kindset_security_user
? -
setSecurityUser
Get theset_security_user
variant value.- Throws:
IllegalStateException
- if the current variant is not of theset_security_user
kind.
-
isPipeline
public boolean isPipeline()Is this variant instance of kindpipeline
? -
pipeline
Get thepipeline
variant value.- Throws:
IllegalStateException
- if the current variant is not of thepipeline
kind.
-
isDrop
public boolean isDrop()Is this variant instance of kinddrop
? -
drop
Get thedrop
variant value.- Throws:
IllegalStateException
- if the current variant is not of thedrop
kind.
-
isCircle
public boolean isCircle()Is this variant instance of kindcircle
? -
circle
Get thecircle
variant value.- Throws:
IllegalStateException
- if the current variant is not of thecircle
kind.
-
isInference
public boolean isInference()Is this variant instance of kindinference
? -
inference
Get theinference
variant value.- Throws:
IllegalStateException
- if the current variant is not of theinference
kind.
-
_isCustom
public boolean _isCustom()Is this a customProcessor
defined by a plugin? -
_customKind
Get the actual kind when_kind()
equalsProcessor.Kind._Custom
(plugin-defined variant).- Specified by:
_customKind
in 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:
serialize
in interfaceJsonpSerializable
-
toString
-
setupProcessorDeserializer
-