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 classProcessor.Builder -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Processor>_DESERIALIZERstatic java.lang.StringAPPENDstatic java.lang.StringATTACHMENTstatic java.lang.StringBYTESstatic java.lang.StringCIRCLEstatic java.lang.StringCONVERTstatic java.lang.StringCSVstatic java.lang.StringDATEstatic java.lang.StringDATE_INDEX_NAMEstatic java.lang.StringDISSECTstatic java.lang.StringDOT_EXPANDERstatic java.lang.StringDROPstatic java.lang.StringENRICHstatic java.lang.StringFAILstatic java.lang.StringFOREACHstatic java.lang.StringGEOIPstatic java.lang.StringGROKstatic java.lang.StringGSUBstatic java.lang.StringINFERENCEstatic java.lang.StringJOINstatic java.lang.StringJSONstatic java.lang.StringKVstatic java.lang.StringLOWERCASEstatic java.lang.StringPIPELINEstatic java.lang.StringREMOVEstatic java.lang.StringRENAMEstatic java.lang.StringSCRIPTstatic java.lang.StringSETstatic java.lang.StringSET_SECURITY_USERstatic java.lang.StringSORTstatic java.lang.StringSPLITstatic java.lang.StringTRIMstatic java.lang.StringUPPERCASEstatic java.lang.StringURLDECODEstatic java.lang.StringUSER_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.AppendProcessorappend()Get theappendvariant value.AttachmentProcessorattachment()Get theattachmentvariant value.BytesProcessorbytes()Get thebytesvariant value.CircleProcessorcircle()Get thecirclevariant value.ConvertProcessorconvert()Get theconvertvariant value.CsvProcessorcsv()Get thecsvvariant value.DateProcessordate()Get thedatevariant value.DateIndexNameProcessordateIndexName()Get thedate_index_namevariant value.DissectProcessordissect()Get thedissectvariant value.DotExpanderProcessordotExpander()Get thedot_expandervariant value.DropProcessordrop()Get thedropvariant value.EnrichProcessorenrich()Get theenrichvariant value.FailProcessorfail()Get thefailvariant value.ForeachProcessorforeach()Get theforeachvariant value.GeoIpProcessorgeoip()Get thegeoipvariant value.GrokProcessorgrok()Get thegrokvariant value.GsubProcessorgsub()Get thegsubvariant value.InferenceProcessorinference()Get theinferencevariant value.JoinProcessorjoin()Get thejoinvariant value.JsonProcessorjson()Get thejsonvariant value.KeyValueProcessorkv()Get thekvvariant value.LowercaseProcessorlowercase()Get thelowercasevariant value.PipelineProcessorpipeline()Get thepipelinevariant value.RemoveProcessorremove()Get theremovevariant value.RenameProcessorrename()Get therenamevariant value.jakarta.json.JsonValuescript()Get thescriptvariant value.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)SetProcessorset()Get thesetvariant value.SetSecurityUserProcessorsetSecurityUser()Get theset_security_uservariant value.protected static voidsetupProcessorDeserializer(DelegatingDeserializer<Processor.Builder> op)SortProcessorsort()Get thesortvariant value.SplitProcessorsplit()Get thesplitvariant value.TrimProcessortrim()Get thetrimvariant value.UppercaseProcessoruppercase()Get theuppercasevariant value.UrlDecodeProcessorurldecode()Get theurldecodevariant value.UserAgentProcessoruserAgent()Get theuser_agentvariant value.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:TaggedUnionGet the of the type of the variant held by this union object.- Specified by:
_typein interfaceTaggedUnion<java.lang.Object>- Returns:
- the variant type
-
_get
public java.lang.Object _get()- Specified by:
_getin interfaceTaggedUnion<java.lang.Object>
-
attachment
Get theattachmentvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theattachmentkind.
-
append
Get theappendvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theappendkind.
-
csv
Get thecsvvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thecsvkind.
-
convert
Get theconvertvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theconvertkind.
-
date
Get thedatevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thedatekind.
-
dateIndexName
Get thedate_index_namevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thedate_index_namekind.
-
dotExpander
Get thedot_expandervariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thedot_expanderkind.
-
enrich
Get theenrichvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theenrichkind.
-
fail
Get thefailvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thefailkind.
-
foreach
Get theforeachvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theforeachkind.
-
json
Get thejsonvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thejsonkind.
-
userAgent
Get theuser_agentvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theuser_agentkind.
-
kv
Get thekvvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thekvkind.
-
geoip
Get thegeoipvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thegeoipkind.
-
grok
Get thegrokvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thegrokkind.
-
gsub
Get thegsubvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thegsubkind.
-
join
Get thejoinvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thejoinkind.
-
lowercase
Get thelowercasevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thelowercasekind.
-
remove
Get theremovevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theremovekind.
-
rename
Get therenamevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of therenamekind.
-
script
public jakarta.json.JsonValue script()Get thescriptvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thescriptkind.
-
set
Get thesetvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thesetkind.
-
sort
Get thesortvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thesortkind.
-
split
Get thesplitvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thesplitkind.
-
trim
Get thetrimvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thetrimkind.
-
uppercase
Get theuppercasevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theuppercasekind.
-
urldecode
Get theurldecodevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theurldecodekind.
-
bytes
Get thebytesvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thebyteskind.
-
dissect
Get thedissectvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thedissectkind.
-
setSecurityUser
Get theset_security_uservariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theset_security_userkind.
-
pipeline
Get thepipelinevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thepipelinekind.
-
drop
Get thedropvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thedropkind.
-
circle
Get thecirclevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thecirclekind.
-
inference
Get theinferencevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theinferencekind.
-
serialize
- Specified by:
serializein interfaceJsonpSerializable
-
setupProcessorDeserializer
-