Class ScriptProcessor
java.lang.Object
co.elastic.clients.elasticsearch.ingest.ProcessorBase
co.elastic.clients.elasticsearch.ingest.ScriptProcessor
- All Implemented Interfaces:
- ProcessorVariant,- JsonpSerializable
- See Also:
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBaseProcessorBase.AbstractBuilder<BuilderT extends ProcessorBase.AbstractBuilder<BuilderT>>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ScriptProcessor>Json deserializer forScriptProcessor
- 
Method SummaryModifier and TypeMethodDescriptionProcessor variant kind.final Stringid()ID of a stored script.final Stringlang()Script language.static ScriptProcessorparams()Object containing parameters for the script.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal ScriptSourcesource()Inline script.Methods inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBasedescription, if_, ignoreFailure, onFailure, serialize, setupProcessorBaseDeserializer, tag, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch.ingest.ProcessorVariant_toProcessor
- 
Field Details- 
_DESERIALIZERJson deserializer forScriptProcessor
 
- 
- 
Method Details- 
ofpublic static ScriptProcessor of(Function<ScriptProcessor.Builder, ObjectBuilder<ScriptProcessor>> fn) 
- 
_processorKindProcessor variant kind.- Specified by:
- _processorKindin interface- ProcessorVariant
 
- 
idID of a stored script. If nosourceis specified, this parameter is required.API name: id
- 
langScript language.API name: lang
- 
paramsObject containing parameters for the script.API name: params
- 
sourceInline script. If noidis specified, this parameter is required.API name: source
- 
serializeInternal- Overrides:
- serializeInternalin class- ProcessorBase
 
- 
setupScriptProcessorDeserializerprotected static void setupScriptProcessorDeserializer(ObjectDeserializer<ScriptProcessor.Builder> op) 
 
-