Class ScriptBase
java.lang.Object
org.opensearch.client.opensearch._types.ScriptBase
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable
- Direct Known Subclasses:
InlineScript,StoredScriptId
@Generated("org.opensearch.client.codegen.CodeGenerator")
public abstract class ScriptBase
extends Object
implements PlainJsonSerializable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()params()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) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
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 compilation time.API name:
params -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupScriptBaseDeserializer
protected static <BuilderT extends ScriptBase.AbstractBuilder<BuilderT>> void setupScriptBaseDeserializer(ObjectDeserializer<BuilderT> op) -
hashCode
public int hashCode() -
equals
-