Class ScriptBase
java.lang.Object
co.elastic.clients.elasticsearch._types.ScriptBase
- All Implemented Interfaces:
JsonpSerializable
- Direct Known Subclasses:
InlineScript,RoleTemplateInlineScript,StoredScriptId
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparams()Specifies any named parameters that are passed into the script as variables.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static <BuilderT extends ScriptBase.AbstractBuilder<BuilderT>>
voidsetupScriptBaseDeserializer(ObjectDeserializer<BuilderT> op) toString()
-
Constructor Details
-
ScriptBase
-
-
Method Details
-
params
Specifies any named parameters that are passed into the script as variables. Use parameters instead of hard-coded values to decrease compile time.API name:
params -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupScriptBaseDeserializer
protected static <BuilderT extends ScriptBase.AbstractBuilder<BuilderT>> void setupScriptBaseDeserializer(ObjectDeserializer<BuilderT> op)
-