Class ScriptBase
java.lang.Object
co.elastic.clients.elasticsearch._types.ScriptBase
- All Implemented Interfaces:
JsonpSerializable
- Direct Known Subclasses:
InlineScript,StoredScriptId
public abstract class ScriptBase extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classScriptBase.AbstractBuilder<BuilderT extends ScriptBase.AbstractBuilder<BuilderT>> -
Constructor Summary
Constructors Modifier Constructor Description protectedScriptBase(ScriptBase.AbstractBuilder<?> builder) -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,JsonData>params()API name:paramsvoidserialize(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)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
ScriptBase
-
-
Method Details
-
params
API name:params -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupScriptBaseDeserializer
protected static <BuilderT extends ScriptBase.AbstractBuilder<BuilderT>> void setupScriptBaseDeserializer(ObjectDeserializer<BuilderT> op)
-