Class Processor
java.lang.Object
co.elastic.clients.elasticsearch.ingest.Processor
- All Implemented Interfaces:
JsonpSerializable
,TaggedUnion<java.lang.Object>
@JsonpDeserializable public class Processor extends java.lang.Object implements TaggedUnion<java.lang.Object>, JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Processor.Builder
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Processor>
_DESERIALIZER
static java.lang.String
APPEND
static java.lang.String
ATTACHMENT
static java.lang.String
BYTES
static java.lang.String
CIRCLE
static java.lang.String
CONVERT
static java.lang.String
CSV
static java.lang.String
DATE
static java.lang.String
DATE_INDEX_NAME
static java.lang.String
DISSECT
static java.lang.String
DOT_EXPANDER
static java.lang.String
DROP
static java.lang.String
ENRICH
static java.lang.String
FAIL
static java.lang.String
FOREACH
static java.lang.String
GEOIP
static java.lang.String
GROK
static java.lang.String
GSUB
static java.lang.String
INFERENCE
static java.lang.String
JOIN
static java.lang.String
JSON
static java.lang.String
KV
static java.lang.String
LOWERCASE
static java.lang.String
PIPELINE
static java.lang.String
REMOVE
static java.lang.String
RENAME
static java.lang.String
SCRIPT
static java.lang.String
SET
static java.lang.String
SET_SECURITY_USER
static java.lang.String
SORT
static java.lang.String
SPLIT
static java.lang.String
TRIM
static java.lang.String
UPPERCASE
static java.lang.String
URLDECODE
static java.lang.String
USER_AGENT
-
Constructor Summary
Constructors Constructor Description Processor(ProcessorVariant value)
Processor(ObjectBuilder<T> builder)
Processor(java.util.function.Function<Processor.Builder,Processor.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.Object
_get()
java.lang.String
_type()
Get the of the type of the variant held by this union object.AppendProcessor
append()
Get theappend
variant value.AttachmentProcessor
attachment()
Get theattachment
variant value.BytesProcessor
bytes()
Get thebytes
variant value.CircleProcessor
circle()
Get thecircle
variant value.ConvertProcessor
convert()
Get theconvert
variant value.CsvProcessor
csv()
Get thecsv
variant value.DateProcessor
date()
Get thedate
variant value.DateIndexNameProcessor
dateIndexName()
Get thedate_index_name
variant value.DissectProcessor
dissect()
Get thedissect
variant value.DotExpanderProcessor
dotExpander()
Get thedot_expander
variant value.DropProcessor
drop()
Get thedrop
variant value.EnrichProcessor
enrich()
Get theenrich
variant value.FailProcessor
fail()
Get thefail
variant value.ForeachProcessor
foreach()
Get theforeach
variant value.GeoIpProcessor
geoip()
Get thegeoip
variant value.GrokProcessor
grok()
Get thegrok
variant value.GsubProcessor
gsub()
Get thegsub
variant value.InferenceProcessor
inference()
Get theinference
variant value.JoinProcessor
join()
Get thejoin
variant value.JsonProcessor
json()
Get thejson
variant value.KeyValueProcessor
kv()
Get thekv
variant value.LowercaseProcessor
lowercase()
Get thelowercase
variant value.PipelineProcessor
pipeline()
Get thepipeline
variant value.RemoveProcessor
remove()
Get theremove
variant value.RenameProcessor
rename()
Get therename
variant value.jakarta.json.JsonValue
script()
Get thescript
variant value.void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
SetProcessor
set()
Get theset
variant value.SetSecurityUserProcessor
setSecurityUser()
Get theset_security_user
variant value.protected static void
setupProcessorDeserializer(DelegatingDeserializer<Processor.Builder> op)
SortProcessor
sort()
Get thesort
variant value.SplitProcessor
split()
Get thesplit
variant value.TrimProcessor
trim()
Get thetrim
variant value.UppercaseProcessor
uppercase()
Get theuppercase
variant value.UrlDecodeProcessor
urldecode()
Get theurldecode
variant value.UserAgentProcessor
userAgent()
Get theuser_agent
variant value.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface co.elastic.clients.util.TaggedUnion
_is
-
Field Details
-
ATTACHMENT
public static final java.lang.String ATTACHMENT- See Also:
- Constant Field Values
-
APPEND
public static final java.lang.String APPEND- See Also:
- Constant Field Values
-
CSV
public static final java.lang.String CSV- See Also:
- Constant Field Values
-
CONVERT
public static final java.lang.String CONVERT- See Also:
- Constant Field Values
-
DATE
public static final java.lang.String DATE- See Also:
- Constant Field Values
-
DATE_INDEX_NAME
public static final java.lang.String DATE_INDEX_NAME- See Also:
- Constant Field Values
-
DOT_EXPANDER
public static final java.lang.String DOT_EXPANDER- See Also:
- Constant Field Values
-
ENRICH
public static final java.lang.String ENRICH- See Also:
- Constant Field Values
-
FAIL
public static final java.lang.String FAIL- See Also:
- Constant Field Values
-
FOREACH
public static final java.lang.String FOREACH- See Also:
- Constant Field Values
-
JSON
public static final java.lang.String JSON- See Also:
- Constant Field Values
-
USER_AGENT
public static final java.lang.String USER_AGENT- See Also:
- Constant Field Values
-
KV
public static final java.lang.String KV- See Also:
- Constant Field Values
-
GEOIP
public static final java.lang.String GEOIP- See Also:
- Constant Field Values
-
GROK
public static final java.lang.String GROK- See Also:
- Constant Field Values
-
GSUB
public static final java.lang.String GSUB- See Also:
- Constant Field Values
-
JOIN
public static final java.lang.String JOIN- See Also:
- Constant Field Values
-
LOWERCASE
public static final java.lang.String LOWERCASE- See Also:
- Constant Field Values
-
REMOVE
public static final java.lang.String REMOVE- See Also:
- Constant Field Values
-
RENAME
public static final java.lang.String RENAME- See Also:
- Constant Field Values
-
SCRIPT
public static final java.lang.String SCRIPT- See Also:
- Constant Field Values
-
SET
public static final java.lang.String SET- See Also:
- Constant Field Values
-
SORT
public static final java.lang.String SORT- See Also:
- Constant Field Values
-
SPLIT
public static final java.lang.String SPLIT- See Also:
- Constant Field Values
-
TRIM
public static final java.lang.String TRIM- See Also:
- Constant Field Values
-
UPPERCASE
public static final java.lang.String UPPERCASE- See Also:
- Constant Field Values
-
URLDECODE
public static final java.lang.String URLDECODE- See Also:
- Constant Field Values
-
BYTES
public static final java.lang.String BYTES- See Also:
- Constant Field Values
-
DISSECT
public static final java.lang.String DISSECT- See Also:
- Constant Field Values
-
SET_SECURITY_USER
public static final java.lang.String SET_SECURITY_USER- See Also:
- Constant Field Values
-
PIPELINE
public static final java.lang.String PIPELINE- See Also:
- Constant Field Values
-
DROP
public static final java.lang.String DROP- See Also:
- Constant Field Values
-
CIRCLE
public static final java.lang.String CIRCLE- See Also:
- Constant Field Values
-
INFERENCE
public static final java.lang.String INFERENCE- See Also:
- Constant Field Values
-
_DESERIALIZER
-
-
Constructor Details
-
Processor
-
Processor
-
Processor
-
-
Method Details
-
_type
public java.lang.String _type()Description copied from interface:TaggedUnion
Get the of the type of the variant held by this union object.- Specified by:
_type
in interfaceTaggedUnion<java.lang.Object>
- Returns:
- the variant type
-
_get
public java.lang.Object _get()- Specified by:
_get
in interfaceTaggedUnion<java.lang.Object>
-
attachment
Get theattachment
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of theattachment
kind.
-
append
Get theappend
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of theappend
kind.
-
csv
Get thecsv
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thecsv
kind.
-
convert
Get theconvert
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of theconvert
kind.
-
date
Get thedate
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thedate
kind.
-
dateIndexName
Get thedate_index_name
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thedate_index_name
kind.
-
dotExpander
Get thedot_expander
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thedot_expander
kind.
-
enrich
Get theenrich
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of theenrich
kind.
-
fail
Get thefail
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thefail
kind.
-
foreach
Get theforeach
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of theforeach
kind.
-
json
Get thejson
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thejson
kind.
-
userAgent
Get theuser_agent
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of theuser_agent
kind.
-
kv
Get thekv
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thekv
kind.
-
geoip
Get thegeoip
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thegeoip
kind.
-
grok
Get thegrok
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thegrok
kind.
-
gsub
Get thegsub
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thegsub
kind.
-
join
Get thejoin
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thejoin
kind.
-
lowercase
Get thelowercase
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thelowercase
kind.
-
remove
Get theremove
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of theremove
kind.
-
rename
Get therename
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of therename
kind.
-
script
public jakarta.json.JsonValue script()Get thescript
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thescript
kind.
-
set
Get theset
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of theset
kind.
-
sort
Get thesort
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thesort
kind.
-
split
Get thesplit
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thesplit
kind.
-
trim
Get thetrim
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thetrim
kind.
-
uppercase
Get theuppercase
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of theuppercase
kind.
-
urldecode
Get theurldecode
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of theurldecode
kind.
-
bytes
Get thebytes
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thebytes
kind.
-
dissect
Get thedissect
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thedissect
kind.
-
setSecurityUser
Get theset_security_user
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of theset_security_user
kind.
-
pipeline
Get thepipeline
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thepipeline
kind.
-
drop
Get thedrop
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thedrop
kind.
-
circle
Get thecircle
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of thecircle
kind.
-
inference
Get theinference
variant value.- Throws:
java.lang.IllegalStateException
- if the current variant is not of theinference
kind.
-
serialize
- Specified by:
serialize
in interfaceJsonpSerializable
-
setupProcessorDeserializer
-